|
CbmRoot
|
#include <CbmL1.h>
Classes | |
| struct | TH1FParameters |
Public Types | |
| enum class | EInitMode { Full , Param } |
| using | DFSET = std::set<std::pair<int, int>> |
Public Member Functions | |
| CbmL1 () | |
| Default constructor. | |
| CbmL1 (const char *name, Int_t verbose=1, Int_t performance=0) | |
| CbmL1 (const CbmL1 &)=delete | |
| Copy constructor. | |
| CbmL1 (CbmL1 &&)=delete | |
| Move constructor. | |
| CbmL1 & | operator= (const CbmL1 &)=delete |
| Copy assignment operator. | |
| CbmL1 & | operator= (CbmL1 &&)=delete |
| Move assignment operator. | |
| ~CbmL1 () | |
| Destructor. | |
| virtual InitStatus | Init () |
| Defines action in the beginning of the run (initialization) | |
| virtual InitStatus | ReInit () |
| Reruns the initialization. | |
| void | Finish () |
| Defines action in the end of the run (saves results) | |
| const cbm::algo::ca::McData & | GetMCData () const |
| Gets reference to MC data object. | |
| void | DisableTrackingStation (ca::EDetectorID detID, int iSt) |
| Disables tracking station for a given detector subsystem. | |
| void | SetInitMode (EInitMode mode) |
| Sets initialization mode. | |
| void | SetSafeMaterialInitialization (bool val=true) |
| void | SetMaterialBudgetNbins (int nBinsPerDimension) |
| Sets material budget binning. | |
| void | SetMaterialBudgetNrays (int nRaysPerDimension) |
| Sets material budget n rays per dimansion in each bin. | |
| void | SetMaterialBudgetPitch (double pitchCm) |
| Sets material budget minimal bin size in cm. | |
| void | SetMaterialBudgetParallelProjection () |
| void | SetConfigUser (const char *path) |
| Sets user configuration filename. | |
| void | SetParameterFilename (const char *filename) |
| Sets a name for the ca-parameter file. | |
| void | SetSetupFilename (const char *filename) |
| Sets a name for the kf-setup file. | |
| void | SetOutputDataDir (const char *dirname) |
| Sets a name for parameters output dir. | |
| void | SetOutputMcTripletsTreeFilename (const char *filename) |
| Sets output file for MC triplets tree If the filename is empty string, tree is not filled. | |
| const auto & | GetQaHits () const |
| void | SetExtrapolateToTheEndOfSTS (bool b) |
| void | SetStsOnlyMode () |
| void | SetMcbmMode () |
| void | SetGlobalMode () |
| void | Reconstruct (CbmEvent *event=nullptr) |
| void | SetMvdMaterialBudgetFileName (const TString &) |
| Obsolete setters to be removed. | |
| void | SetStsMaterialBudgetFileName (const TString &) |
| Sets material budget file name for STS. | |
| void | SetMuchMaterialBudgetFileName (const TString &) |
| Sets material budget file name for MuCh. | |
| void | SetTrdMaterialBudgetFileName (const TString &) |
| Sets material budget file name for TRD. | |
| void | SetTofMaterialBudgetFileName (const TString &) |
| Sets material budget file name for TOF. | |
Static Public Member Functions | |
| static CbmL1 * | Instance () |
| Pointer to CbmL1 instance. | |
| static constexpr const char * | GetDetectorName (ca::EDetectorID detectorID) |
| Utility to map the L1DetectorID items into detector names. | |
| static double | boundedGaus (double sigma) |
Public Attributes | |
| ca::TrackingMonitor | fMonitor {} |
| Tracking monitor. | |
| ca::Framework * | fpAlgo = nullptr |
| Pointer to the L1 track finder algorithm. | |
| ca::TrackingMode | fTrackingMode = ca::TrackingMode::kSts |
| Tracking mode. | |
| ca::Vector< CbmL1Track > | fvRecoTracks = {"CbmL1::fvRecoTracks"} |
| Reconstructed tracks container. | |
| ca::Vector< CbmL1HitId > | fvExternalHits = {"CbmL1::fvExternalHits"} |
| Array of hits. | |
Private Member Functions | |
| void | IdealTrackFinder () |
| Runs ideal track finder: copies all MC-tracks into reconstructed tracks. | |
| void | Fill_vMCTracks () |
| Fills the fvMCTracks vector and the fmMCTracksMap. | |
| template<ca::EDetectorID DetId> | |
| std::tuple< int, std::vector< int > > | MatchHitWithMc (int iHit) const |
| Matches hit with MC point. | |
| void | FieldApproxCheck () |
| void | FieldIntegralCheck () |
| void | TimeHist () |
| void | SetRandomSeed (unsigned int) |
| Sets random seed to CA internal random generator. | |
| void | EfficienciesPerformance (bool doFinish=kFALSE) |
| Calculates tracking efficiencies (counters) | |
| void | TrackFitPerformance () |
| void | FillFitHistos (cbm::algo::kf::TrackParamV &tr, const cbm::algo::ca::McPoint &mc, bool isTimeFitted, TH1F *h[]) |
| void | HistoPerformance () |
| Fills performance histograms. | |
| void | DumpMCTripletsToTree () |
| void | DefineSTAPNames () |
| Defines names for output in STAP mode. | |
| void | WriteSTAPParamObject () |
| Writes initialized L1Parameters object to file "". | |
| void | WriteSTAPAlgoInputData (int iJob=0) |
| void | WriteSTAPPerfInputData () |
| void | ReadSTAPParamObject () |
| void | ReadSTAPAlgoInputData (int iJob=0) |
| void | ReadSTAPPerfInputData () |
| void | WriteHistosCurFile (TObject *obj) |
| void | DumpMaterialToFile (TString fileName, std::shared_ptr< const cbm::algo::ca::Parameters< double > > par) |
| ClassDef (CbmL1, 0) | |
Static Private Member Functions | |
| static std::istream & | eatwhite (std::istream &is) |
| static void | writedir2current (TObject *obj) |
Private Attributes | |
| std::string | fInputDataFilename {} |
| File name to read/write input hits. | |
| std::string | fsUserConfig {} |
| User config path. | |
| std::unique_ptr< cbm::ca::TimeSliceReader > | fpTSReader = nullptr |
| event/TS reader | |
| std::unique_ptr< cbm::ca::MCModule > | fpMCModule = nullptr |
| MC module. | |
| cbm::algo::ca::McData | fMCData |
| MC Data object. | |
| std::shared_ptr< ca::DataManager > | fpIODataManager = nullptr |
| Input-output data manager. | |
| bool | fDoSafeMaterialInitialization {false} |
| double | fTargetX {1.e10} |
| target position X | |
| double | fTargetY {1.e10} |
| target position Y | |
| double | fTargetZ {1.e10} |
| target position Z | |
| int | fNStations = 0 |
| number of total active detector stations | |
| Int_t | fPerformance = 0 |
| performance mode: 0 - w\o perf. 1 - L1-Efficiency definition. 2 - QA-Eff.definition | |
| double | fTrackingTime = 0. |
| time of track finding procedure | |
| int | fSTAPDataMode = 4 |
| Option to work with files for the standalone mode. | |
| TString | fSTAPDataDir = "" |
| Name of input/output directory for running in a STAP mode. | |
| TString | fSTAPDataPrefix = "test" |
| Name of input/output file prefix. The prefix is defined by output TTree file. | |
| TString | fSTAPParamFile = "" |
| Name of the parameter file (generated automatically, if not provided manually) | |
| TString | fSTAPSetupFile = "" |
| Name of the setup file (generated automatically, if not provided manually) | |
| Int_t | fTrackingLevel = 2 |
| Double_t | fMomentumCutOff = 0.1 |
| int | fEventNo = 0 |
| Current number of event/TS. | |
| int | fNofRecoTracks = 0 |
| Total number of reconstructed tracks. | |
| ca::Vector< cbm::algo::ca::McHitInfo > | fvHitDebugInfo |
| Container of hits with extended information. | |
| cbm::ca::DetIdArr_t< std::set< int > > | fvmDisabledStationIDs |
| TFile * | fPerfFile {nullptr} |
| Array of local indices of disabled tracking stations. | |
| TDirectory * | fHistoDir {nullptr} |
| TDirectory * | fTableDir {nullptr} |
| TH1F * | fTimeHisto [fNTimeHistos] {nullptr} |
| TH1F * | fGhostHisto [fNGhostHistos] {nullptr} |
| TFile * | fpMcTripletsOutFile = nullptr |
| File to save MC-triplets tree. | |
| TTree * | fpMcTripletsTree = nullptr |
| Tree to save MC-triplets. | |
| std::string | fsMcTripletsOutputFilename = "" |
| Name of file to save MC-triplets tree. | |
| int | fMatBudgetNbins {100} |
| n bins in mat budget maps (fMatBudgetNbins x fMatBudgetNbins) | |
| int | fMatBudgetNrays {3} |
| material budget n rays per dimansion in each bin | |
| double | fMatBudgetPitch {0.1} |
| material budget minimal bin size in cm | |
| EInitMode | fInitMode = EInitMode::Full |
| Initialization mode. | |
| bool | fMatBudgetParallelProjection {false} |
| bool | fExtrapolateToTheEndOfSTS {false} |
| std::vector< cbm::algo::kf::MaterialMonitor > | fMaterialMonitor {} |
| Material monitors for each material budget map. | |
Static Private Attributes | |
| static CbmL1 * | fpInstance = nullptr |
| Instance of CbmL1. | |
| static constexpr std::string_view | kSTAPParamSuffix = "ca.par" |
| Extension for IO of the L1Parameters object. | |
| static constexpr std::string_view | kSTAPSetupSuffix = "kf.setup" |
| static constexpr std::string_view | kSTAPAlgoIDataSuffix = "job%d.ca.input.dat" |
| static constexpr std::string_view | kSTAPAlgoIDataDir = "input_hits" |
| Name of subdirectory for handling ca::InputData objects. | |
| static const int | fNTimeHistos = 22 |
| static const int | fNGhostHistos = 9 |
Friends | |
| class | L1AlgoDraw |
| class | L1AlgoPulls |
| template<int NHits> | |
| class | L1AlgoEfficiencyPerformance |
| class | CbmL1PFFitter |
ca::Framework runtime constants modification can be performed in run_reco.C. Example:
| using CbmL1::DFSET = std::set<std::pair<int, int>> |
|
strong |
| CbmL1::CbmL1 | ( | ) |
Default constructor.
Definition at line 85 of file CbmL1.cxx.
References CbmL1().
Referenced by CbmL1(), CbmL1(), CbmL1(), ClassDef(), Instance(), operator=(), and operator=().
Constructor from parameters
| name | Name of the task |
| verbose | Verbosity level |
| performance | Performance run flag:
|
Definition at line 89 of file CbmL1.cxx.
References fPerformance, fpInstance, fpIODataManager, and fSTAPDataMode.
| CbmL1::~CbmL1 | ( | ) |
|
static |
|
private |
Defines names for output in STAP mode.
--— STandAlone Package service-functions --------------------------—
Defines the name of input/output directory [dir] and prefix of the files [pref], which is used to define input and output data trees in the reconstruction macro. If the output TTree file has name /path/to/[pref].reco.root, the data files will be: [dir]/input_hits/[pref].job[No].ca.input.dat - hits input files, containing serialized ca::InputData objects, stored for each job (each call of CbmL1::ReadEvent function) [dir]/[pref].ca.par - parameters input files, containing serialized L1Parameters object
Definition at line 562 of file CbmL1.cxx.
References fSTAPDataDir, fSTAPDataMode, and fSTAPDataPrefix.
Referenced by Init().
| void CbmL1::DisableTrackingStation | ( | ca::EDetectorID | detID, |
| int | iSt ) |
Disables tracking station for a given detector subsystem.
| detID | Detector ID |
| iSt | Index of station in tracking station interface |
Possible entries of Detector ID are listed in CbmL1DetectorID.h.
Definition at line 111 of file CbmL1.cxx.
References cbm::algo::ca::END, and fvmDisabledStationIDs.
|
private |
Definition at line 644 of file CbmL1.cxx.
References fMatBudgetParallelProjection, and kf::tools::RootUtils::ToHistogram().
Referenced by Init().
|
private |
Writes MC triplets to tree
< mother ID of track
< PDG code of track
< process ID (see ROOT::TMCProcessID)
< abs. momentum of track [GeV/c]
< charge of track [e]
< z-component of the MC track vertex [cm]
< global index of the left MC point station
< x-component of the left MC point in a triplet [cm]
< y-component of the left MC point in a triplet [cm]
< z-component of the left MC point in a triplet [cm]
< x-component of the middle MC point in a triplet [cm]
< y-component of the middle MC point in a triplet [cm]
< z-component of the middle MC point in a triplet [cm]
< x-component of the right MC point in a triplet [cm]
< y-component of the right MC point in a triplet [cm]
< z-component of the right MC point in a triplet [cm]
< global active index of tracking station
< x-component of point position [cm]
< y-component of point position [cm]
< z-component of point position [cm]
Definition at line 1746 of file CbmL1Performance.cxx.
References fMCData, fpMcTripletsOutFile, fpMcTripletsTree, fsMcTripletsOutputFilename, x, and y.
Referenced by Reconstruct().
|
staticprivate |
|
private |
Calculates tracking efficiencies (counters)
Definition at line 231 of file CbmL1Performance.cxx.
References cbm::algo::ca::utils::Debugger::AddNtuple(), TL1PerfEfficiencies::CalcEff(), TL1TracksCatCounters< T >::counters, cbm::algo::ca::McHitInfo::dx, cbm::algo::ca::McHitInfo::dy, cbm::algo::ca::utils::Debugger::FillNtuple(), fMCData, fNStations, fpAlgo, fTableDir, fTrackingTime, fvHitDebugInfo, fvRecoTracks, TL1Efficiencies::ghosts, TL1PerfEfficiencies::Inc(), TL1Efficiencies::IncNEvents(), TL1Efficiencies::indices, cbm::algo::ca::utils::Debugger::Instance(), TL1Efficiencies::mc, CbmL1Constants::MinFastMom, TL1PerfEfficiencies::PrintEff(), TL1Efficiencies::reco, cbm::algo::ca::McHitInfo::x, and cbm::algo::ca::McHitInfo::y.
Referenced by Finish(), and Reconstruct().
|
private |
|
private |
Definition at line 1679 of file CbmL1Performance.cxx.
|
private |
Fills the fvMCTracks vector and the fmMCTracksMap.
|
private |
Definition at line 1523 of file CbmL1Performance.cxx.
References cbm::algo::kf::TrackKalmanFilter< DataT, Settings >::Extrapolate(), cbm::algo::kf::GlobalField::fgOriginalField, fpAlgo, cbm::algo::ca::McPoint::GetInvSpeed(), cbm::algo::ca::McPoint::GetP(), cbm::algo::ca::McPoint::GetQp(), cbm::algo::ca::McPoint::GetTime(), cbm::algo::ca::McPoint::GetTxOut(), cbm::algo::ca::McPoint::GetTyOut(), cbm::algo::ca::McPoint::GetXOut(), cbm::algo::ca::McPoint::GetYOut(), cbm::algo::ca::McPoint::GetZOut(), cbm::algo::kf::Normal, cbm::algo::kf::fmask::One(), cbm::algo::kf::TrackKalmanFilter< DataT, Settings >::SetMask(), cbm::algo::kf::TrackKalmanFilter< DataT, Settings >::SetParticleMass(), cbm::algo::kf::TrackKalmanFilter< DataT, Settings >::SetTrack(), cbm::algo::ca::constants::phys::SpeedOfLightD, sqrt(), and cbm::algo::kf::TrackKalmanFilter< DataT, Settings >::Tr().
Referenced by TrackFitPerformance().
| void CbmL1::Finish | ( | ) |
Defines action in the end of the run (saves results)
Definition at line 414 of file CbmL1.cxx.
References EfficienciesPerformance(), fHistoDir, fMaterialMonitor, fMonitor, fpAlgo, fPerformance, fpMcTripletsOutFile, fpMcTripletsTree, fTableDir, cbm::algo::ca::utils::Debugger::Instance(), cbm::algo::ca::utils::Debugger::Write(), and writedir2current().
|
inlinestaticconstexpr |
Utility to map the L1DetectorID items into detector names.
Definition at line 239 of file CbmL1.h.
References cbm::algo::ca::END, cbm::algo::ca::kMuch, cbm::algo::ca::kMvd, cbm::algo::ca::kSts, cbm::algo::ca::kTof, and cbm::algo::ca::kTrd.
Referenced by cbm::ca::TimeSliceReader::ReadHitsForDetector().
|
inline |
|
inline |
Gets vector of the extended QA hits TODO: It is a temporary function, do not rely on it
Definition at line 236 of file CbmL1.h.
References fvHitDebugInfo.
|
private |
Fills performance histograms.
Definition at line 432 of file CbmL1Performance.cxx.
References fHistoDir, fMCData, fpAlgo, fTrackingTime, fvHitDebugInfo, fvRecoTracks, cbm::algo::kf::TrackParamBase< T >::GetChiSq(), CbmL1Track::GetFirstHitIndex(), CbmL1Track::GetLastHitIndex(), CbmL1Track::GetMatchedMCTrackIndex(), CbmL1Track::GetMaxPurity(), cbm::algo::kf::TrackParamBase< T >::GetNdf(), CbmL1Track::GetNofMCTracks(), cbm::algo::kf::TrackParamBase< T >::GetP(), cbm::algo::kf::TrackParamBase< T >::GetPhi(), cbm::algo::kf::TrackParamBase< T >::GetQp(), CbmL1Track::Hits, CbmL1Track::IsGhost(), cbm::algo::ca::McHitInfo::iStation, size(), sqrt(), cbm::algo::ca::McHitInfo::x, cbm::algo::ca::McHitInfo::y, and y.
Referenced by Reconstruct().
|
private |
Runs ideal track finder: copies all MC-tracks into reconstructed tracks.
Definition at line 506 of file CbmL1.cxx.
References fMCData, cbm::algo::ca::Track::fNofHits, fpAlgo, cbm::algo::ca::Track::fParFirst, fvHitDebugInfo, cbm::algo::ca::McHitInfo::GetStationId(), cbm::algo::kf::TrackParamBase< T >::Qp(), cbm::algo::kf::TrackParamBase< T >::Time(), cbm::algo::kf::TrackParamBase< T >::Tx(), cbm::algo::kf::TrackParamBase< T >::Ty(), cbm::algo::kf::TrackParamBase< T >::X(), cbm::algo::kf::TrackParamBase< T >::Y(), and cbm::algo::kf::TrackParamBase< T >::Z().
|
virtual |
Defines action in the beginning of the run (initialization)
Definition at line 128 of file CbmL1.cxx.
References DefineSTAPNames(), DumpMaterialToFile(), fHistoDir, fInitMode, fMaterialMonitor, fMCData, fMonitor, fNStations, fpAlgo, fPerformance, fpIODataManager, fpMCModule, fpTSReader, fSTAPDataDir, fSTAPDataMode, fSTAPDataPrefix, fSTAPParamFile, fsUserConfig, fTableDir, fTrackingMode, fvExternalHits, fvHitDebugInfo, fvmDisabledStationIDs, fvRecoTracks, cbm::ca::kDetIds, cbm::algo::ca::kGlobal, cbm::algo::ca::kMcbm, cbm::algo::ca::kMuch, cbm::algo::ca::kMvd, kSTAPParamSuffix, cbm::algo::ca::kSts, cbm::algo::ca::kTof, cbm::algo::ca::kTrd, cbm::algo::ca::ParametersIO::Load(), Param, cbm::kf::tools::SetOriginalCbmField(), cbm::ca::ParametersBuilder::SetRequireHitPresence(), cbm::algo::ca::ParametersIO::Store(), and y.
Referenced by ReInit().
|
inlinestatic |
Pointer to CbmL1 instance.
Definition at line 166 of file CbmL1.h.
References CbmL1(), and fpInstance.
Referenced by CbmL1PFFitter::CalculateFieldRegion(), CbmL1PFFitter::CalculateFieldRegionAtLastPoint(), CbmL1GlobalTrackFinder::CbmL1TrackToCbmMuchTrack(), CbmL1GlobalTrackFinder::CbmL1TrackToCbmStsTrack(), CbmL1GlobalTrackFinder::CbmL1TrackToCbmTofTrack(), CbmL1GlobalTrackFinder::CbmL1TrackToCbmTrdTrack(), CbmL1GlobalTrackFinder::CopyL1Tracks(), CbmL1StsTrackFinder::CopyL1Tracks(), CbmL1GlobalTrackFinder::DoFind(), CbmL1StsTrackFinder::DoFind(), CbmBbaAlignmentMcbmTask::Exec(), CbmL1GlobalTrackFinder::FindTracks(), CbmL1StsTrackFinder::FindTracks(), CbmL1PFFitter::Fit(), CbmL1PFFitter::GetChiToVertex(), CbmL1PFFitter::GetMvdStationIndex(), CbmL1PFFitter::GetStsStationIndex(), CbmBbaAlignmentMcbmTask::Init(), CbmL1PFFitter::Initialize(), InitL1Histo(), CbmL1GlobalTrackFinder::SetDefaultParticlePDG(), and SetDefaultParticlePDG().
|
private |
Matches hit with MC point.
| DetId | Detector ID |
| iHit | External index of hit |
|
private |
Definition at line 626 of file CbmL1.cxx.
References fpIODataManager, fSTAPDataDir, fSTAPDataPrefix, kSTAPAlgoIDataDir, and kSTAPAlgoIDataSuffix.
|
private |
Reads a sample of an ca::InputData object from defined directory fSTAPDataDir
| iJob | Number of job, usually is defined by the nCalls of executing function |
| void CbmL1::Reconstruct | ( | CbmEvent * | event = nullptr | ) |
Reconstructs tracks in a given event
| event | Pointer to current CbmEvent object |
WriteSIMDKFData();
Definition at line 312 of file CbmL1.cxx.
References DumpMCTripletsToTree(), EfficienciesPerformance(), fEventNo, fMaterialMonitor, fMonitor, fpAlgo, fPerformance, fpIODataManager, fpMCModule, fpTSReader, fsMcTripletsOutputFilename, fTrackingTime, fvRecoTracks, HistoPerformance(), CbmL1Track::Hits, cbm::algo::kf::TrackParamBase< T >::Set(), CbmL1Track::TLast, CbmL1Track::Tpv, and TrackFitPerformance().
Referenced by CbmL1GlobalTrackFinder::DoFind(), CbmL1StsTrackFinder::DoFind(), CbmL1GlobalTrackFinder::FindTracks(), and CbmL1StsTrackFinder::FindTracks().
|
virtual |
|
inline |
Sets user configuration filename.
| path | Path to the config |
Definition at line 214 of file CbmL1.h.
References fsUserConfig.
|
inline |
Definition at line 252 of file CbmL1.h.
References fExtrapolateToTheEndOfSTS.
|
inline |
Definition at line 255 of file CbmL1.h.
References fTrackingMode, and cbm::algo::ca::kGlobal.
|
inline |
Sets initialization mode.
| mode | A CbmL1::EInitMode enumeration entry |
Definition at line 193 of file CbmL1.h.
References fInitMode.
|
inline |
|
inline |
Sets material budget n rays per dimansion in each bin.
Definition at line 203 of file CbmL1.h.
References fMatBudgetNrays.
|
inline |
Calculate material budget with rays, parallel to Z axis Only needed in debug mode to produce detailed picture of the material
Definition at line 210 of file CbmL1.h.
References fMatBudgetParallelProjection.
|
inline |
Sets material budget minimal bin size in cm.
Definition at line 206 of file CbmL1.h.
References fMatBudgetPitch.
|
inline |
Definition at line 254 of file CbmL1.h.
References fTrackingMode, and cbm::algo::ca::kMcbm.
|
inline |
|
inline |
|
inline |
Sets a name for parameters output dir.
| dirname | Name of the directory for parameters output |
Definition at line 227 of file CbmL1.h.
References fSTAPDataDir.
|
inline |
Sets output file for MC triplets tree If the filename is empty string, tree is not filled.
| filename | Name of the output file name |
Definition at line 232 of file CbmL1.h.
References fsMcTripletsOutputFilename.
|
inline |
Sets a name for the ca-parameter file.
| filename | Name of the parameter file |
Definition at line 218 of file CbmL1.h.
References fSTAPParamFile.
|
inlineprivate |
|
inline |
Sets safe but slow material initialisation to get around potential problems in TGeoVoxelFinder (use it only in case of a crash at the initialisation of material maps)
Definition at line 197 of file CbmL1.h.
References fDoSafeMaterialInitialization.
|
inline |
Sets a name for the kf-setup file.
| filename | Name of the kf-setup file |
Definition at line 222 of file CbmL1.h.
References fSTAPSetupFile.
|
inline |
|
inline |
Definition at line 253 of file CbmL1.h.
References fTrackingMode, and cbm::algo::ca::kSts.
|
inline |
|
inline |
|
private |
|
private |
Builds pulls and residuals
Definition at line 1075 of file CbmL1Performance.cxx.
References cbm::algo::kf::TrackKalmanFilter< DataT, Settings >::EnergyLossCorrection(), cbm::algo::kf::TrackKalmanFilter< DataT, Settings >::Extrapolate(), cbm::algo::kf::GlobalField::fgOriginalField, cbm::algo::kf::GlobalField::fgOriginalFieldType, fHistoDir, FillFitHistos(), fMCData, fNStations, fpAlgo, fvHitDebugInfo, fvRecoTracks, cbm::algo::kf::TrackParamBase< T >::GetX(), cbm::algo::kf::TrackParamBase< T >::GetY(), cbm::algo::ca::kGlobal, cbm::algo::kf::kUpstream, cbm::algo::kf::TrackKalmanFilter< DataT, Settings >::MultipleScattering(), cbm::algo::kf::fmask::One(), cbm::algo::kf::TrackKalmanFilter< DataT, Settings >::SetMask(), cbm::algo::kf::TrackKalmanFilter< DataT, Settings >::SetParticleMass(), cbm::algo::kf::TrackKalmanFilter< DataT, Settings >::SetTrack(), cbm::algo::ca::constants::phys::SpeedOfLightD, cbm::algo::ca::constants::phys::SpeedOfLightInvD, sqrt(), and cbm::algo::kf::TrackKalmanFilter< DataT, Settings >::Tr().
Referenced by Reconstruct().
|
staticprivate |
Definition at line 488 of file CbmL1.cxx.
References writedir2current().
Referenced by Finish(), and writedir2current().
|
private |
|
private |
Writes a sample of an ca::InputData object to defined directory fSTAPDataDir
| iJob | Number of job, usually is defined by the nCalls of executing function |
Definition at line 608 of file CbmL1.cxx.
References fpIODataManager, fSTAPDataDir, fSTAPDataPrefix, and kSTAPAlgoIDataSuffix.
|
private |
Writes initialized L1Parameters object to file "".
|
friend |
|
friend |
|
friend |
Definition at line 121 of file CbmL1.h.
References L1AlgoEfficiencyPerformance.
Referenced by L1AlgoEfficiencyPerformance.
|
friend |
|
private |
Definition at line 427 of file CbmL1.h.
Referenced by SetSafeMaterialInitialization().
|
private |
|
private |
Definition at line 517 of file CbmL1.h.
Referenced by SetExtrapolateToTheEndOfSTS().
|
private |
|
private |
Definition at line 495 of file CbmL1.h.
Referenced by Finish(), HistoPerformance(), Init(), and TrackFitPerformance().
|
private |
Initialization mode.
Definition at line 512 of file CbmL1.h.
Referenced by Init(), and SetInitMode().
|
private |
|
private |
n bins in mat budget maps (fMatBudgetNbins x fMatBudgetNbins)
Definition at line 508 of file CbmL1.h.
Referenced by SetMaterialBudgetNbins().
|
private |
material budget n rays per dimansion in each bin
Definition at line 509 of file CbmL1.h.
Referenced by SetMaterialBudgetNrays().
|
private |
Calculate material budget with rays, parallel to Z axis Only needed in debug mode to produce detailed picture of the material
Definition at line 514 of file CbmL1.h.
Referenced by DumpMaterialToFile(), and SetMaterialBudgetParallelProjection().
|
private |
material budget minimal bin size in cm
Definition at line 510 of file CbmL1.h.
Referenced by SetMaterialBudgetPitch().
|
private |
Material monitors for each material budget map.
Definition at line 519 of file CbmL1.h.
Referenced by Finish(), Init(), and Reconstruct().
|
private |
MC Data object.
Definition at line 410 of file CbmL1.h.
Referenced by DumpMCTripletsToTree(), EfficienciesPerformance(), GetMCData(), HistoPerformance(), IdealTrackFinder(), Init(), and TrackFitPerformance().
| ca::TrackingMonitor CbmL1::fMonitor {} |
Tracking monitor.
Definition at line 257 of file CbmL1.h.
Referenced by Finish(), Init(), and Reconstruct().
|
private |
|
private |
number of total active detector stations
Definition at line 435 of file CbmL1.h.
Referenced by EfficienciesPerformance(), Init(), and TrackFitPerformance().
| ca::Framework* CbmL1::fpAlgo = nullptr |
Pointer to the L1 track finder algorithm.
Definition at line 418 of file CbmL1.h.
Referenced by CbmL1PFFitter::CalculateFieldRegion(), CbmL1PFFitter::CalculateFieldRegionAtLastPoint(), EfficienciesPerformance(), CbmBbaAlignmentMcbmTask::Exec(), FieldApproxCheck(), FillFitHistos(), Finish(), CbmL1PFFitter::Fit(), CbmL1PFFitter::GetChiToVertex(), CbmL1PFFitter::GetMvdStationIndex(), CbmL1PFFitter::GetStsStationIndex(), HistoPerformance(), IdealTrackFinder(), CbmBbaAlignmentMcbmTask::Init(), Init(), CbmL1PFFitter::Initialize(), Reconstruct(), CbmL1GlobalTrackFinder::SetDefaultParticlePDG(), SetDefaultParticlePDG(), and TrackFitPerformance().
|
private |
|
private |
|
staticprivate |
|
private |
Input-output data manager.
Definition at line 412 of file CbmL1.h.
Referenced by CbmL1(), Init(), ReadSTAPAlgoInputData(), Reconstruct(), and WriteSTAPAlgoInputData().
|
private |
|
private |
File to save MC-triplets tree.
Definition at line 504 of file CbmL1.h.
Referenced by DumpMCTripletsToTree(), and Finish().
|
private |
Tree to save MC-triplets.
Definition at line 505 of file CbmL1.h.
Referenced by DumpMCTripletsToTree(), and Finish().
|
private |
|
private |
Name of file to save MC-triplets tree.
Definition at line 506 of file CbmL1.h.
Referenced by DumpMCTripletsToTree(), Reconstruct(), and SetOutputMcTripletsTreeFilename().
|
private |
Name of input/output directory for running in a STAP mode.
Definition at line 449 of file CbmL1.h.
Referenced by DefineSTAPNames(), Init(), ReadSTAPAlgoInputData(), SetOutputDataDir(), and WriteSTAPAlgoInputData().
|
private |
Option to work with files for the standalone mode.
Option to work with files for the standalone mode
Definition at line 447 of file CbmL1.h.
Referenced by CbmL1(), DefineSTAPNames(), and Init().
|
private |
Name of input/output file prefix. The prefix is defined by output TTree file.
Definition at line 450 of file CbmL1.h.
Referenced by DefineSTAPNames(), Init(), ReadSTAPAlgoInputData(), and WriteSTAPAlgoInputData().
|
private |
Name of the parameter file (generated automatically, if not provided manually)
Definition at line 451 of file CbmL1.h.
Referenced by Init(), and SetParameterFilename().
|
private |
Name of the setup file (generated automatically, if not provided manually)
Definition at line 452 of file CbmL1.h.
Referenced by SetSetupFilename().
|
private |
User config path.
Definition at line 406 of file CbmL1.h.
Referenced by Init(), and SetConfigUser().
|
private |
Definition at line 496 of file CbmL1.h.
Referenced by EfficienciesPerformance(), Finish(), and Init().
|
private |
|
private |
| ca::TrackingMode CbmL1::fTrackingMode = ca::TrackingMode::kSts |
Tracking mode.
Definition at line 420 of file CbmL1.h.
Referenced by Init(), SetGlobalMode(), SetMcbmMode(), and SetStsOnlyMode().
|
private |
time of track finding procedure
Definition at line 438 of file CbmL1.h.
Referenced by EfficienciesPerformance(), HistoPerformance(), and Reconstruct().
| ca::Vector<CbmL1HitId> CbmL1::fvExternalHits = {"CbmL1::fvExternalHits"} |
Array of hits.
Definition at line 479 of file CbmL1.h.
Referenced by CbmL1GlobalTrackFinder::CbmL1TrackToCbmMuchTrack(), CbmL1GlobalTrackFinder::CbmL1TrackToCbmStsTrack(), CbmL1GlobalTrackFinder::CbmL1TrackToCbmTofTrack(), CbmL1GlobalTrackFinder::CbmL1TrackToCbmTrdTrack(), CbmL1GlobalTrackFinder::CopyL1Tracks(), CbmL1StsTrackFinder::CopyL1Tracks(), and Init().
|
private |
Container of hits with extended information.
Definition at line 482 of file CbmL1.h.
Referenced by EfficienciesPerformance(), GetQaHits(), HistoPerformance(), IdealTrackFinder(), Init(), and TrackFitPerformance().
|
private |
Definition at line 488 of file CbmL1.h.
Referenced by DisableTrackingStation(), and Init().
| ca::Vector<CbmL1Track> CbmL1::fvRecoTracks = {"CbmL1::fvRecoTracks"} |
Reconstructed tracks container.
Definition at line 422 of file CbmL1.h.
Referenced by CbmL1GlobalTrackFinder::CopyL1Tracks(), CbmL1StsTrackFinder::CopyL1Tracks(), EfficienciesPerformance(), HistoPerformance(), Init(), Reconstruct(), and TrackFitPerformance().
|
staticconstexprprivate |
Name of subdirectory for handling ca::InputData objects.
Definition at line 467 of file CbmL1.h.
Referenced by ReadSTAPAlgoInputData().
|
staticconstexprprivate |
Definition at line 464 of file CbmL1.h.
Referenced by ReadSTAPAlgoInputData(), and WriteSTAPAlgoInputData().
|
staticconstexprprivate |
|
staticconstexprprivate |