|
BmnRoot 26.10.0-18-g4e3414f9
Software framework of the BM@N experiment
|
Class for BmnFHCalEvent reconstruction (creation) from BmnFHCalDigi {Data} or BmnFHCalDigit {Sim}. More...
#include <BmnFHCalReconstructor.h>
Public Member Functions | |
| BmnFHCalReconstructor (bool isExp, bool isGlobalCoordinates) | |
| ~BmnFHCalReconstructor () | |
| virtual InitStatus | Init () |
| void | ParseGeometry () |
| void | SetRecoCutsFile (TString reco_cuts_file) |
| void | ParseCuts () |
| virtual void | Exec (Option_t *opt) |
| virtual void | Finish () |
| virtual void | OnlineWrite (const std::unique_ptr< TTree > &resultTree) |
| Write task resul to tree. | |
| BmnFHCalReconstructor (bool isExp, bool isGlobalCoordinates) | |
| ~BmnFHCalReconstructor () | |
| virtual InitStatus | Init () |
| void | ParseGeometry () |
| void | SetRecoCutsFile (TString reco_cuts_file) |
| void | ParseCuts () |
| virtual void | Exec (Option_t *opt) |
| virtual void | Finish () |
| virtual void | OnlineWrite (const std::unique_ptr< TTree > &resultTree) |
| Write task resul to tree. | |
| Public Member Functions inherited from BmnTask | |
| BmnTask () | |
| Default constructor. | |
| BmnTask (const char *name, Int_t iVerbose=1) | |
| Standard constructor. | |
| virtual | ~BmnTask () |
| Destroy the BmnTask object. | |
| BmnTask (const BmnTask &)=delete | |
| BmnTask & | operator= (const BmnTask &)=delete |
| BmnTask () | |
| Default constructor. | |
| BmnTask (const char *name, Int_t iVerbose=1) | |
| Standard constructor. | |
| virtual | ~BmnTask () |
| Destroy the BmnTask object. | |
| BmnTask (const BmnTask &)=delete | |
| BmnTask & | operator= (const BmnTask &)=delete |
Private Member Functions | |
| std::vector< TObject * > | GetSelectedDigiVector (TString formulaString) |
| void | MatchMCTracks () |
| std::vector< TObject * > | GetSelectedDigiVector (TString formulaString) |
| void | MatchMCTracks () |
Private Attributes | |
| FairRootManager * | fpFairRootMgr = nullptr |
| TClonesArray * | fArrayOfDigits = nullptr |
| TClonesArray * | fArrayOfPoints = nullptr |
| std::vector< TObject * > | fSelectedDigiVector |
| BmnFHCalEvent * | fBmnFHCalEvent = nullptr |
| TString | fRecoCutsFile |
| TString | fSelectionString = "(1)" |
| bool | fIsExp |
| bool | fIsGlobal |
| bool | fDoMatchMC = false |
| float | fworkTime |
Definition at line 29 of file BmnFHCalReconstructor.h.
| BmnFHCalReconstructor::BmnFHCalReconstructor | ( | bool | isExp, |
| bool | isGlobalCoordinates ) |
Definition at line 15 of file BmnFHCalReconstructor.cxx.
References fDoMatchMC, fIsExp, and fIsGlobal.
Referenced by MatchMCTracks().
| BmnFHCalReconstructor::~BmnFHCalReconstructor | ( | ) |
Definition at line 30 of file BmnFHCalReconstructor.cxx.
References fBmnFHCalEvent.
| BmnFHCalReconstructor::BmnFHCalReconstructor | ( | bool | isExp, |
| bool | isGlobalCoordinates ) |
| BmnFHCalReconstructor::~BmnFHCalReconstructor | ( | ) |
|
virtual |
Definition at line 140 of file BmnFHCalReconstructor.cxx.
References fBmnFHCalEvent, fDoMatchMC, fIsExp, fSelectionString, fworkTime, BmnFHCalDigit::GetModuleId(), BmnFHCalDigit::GetSectionId(), GetSelectedDigiVector(), BmnAbstractDigit::GetSignal(), MatchMCTracks(), TStopwatch::RealTime(), TStopwatch::Start(), and TStopwatch::Stop().
|
virtual |
|
virtual |
Definition at line 254 of file BmnFHCalReconstructor.cxx.
References fworkTime.
|
virtual |
|
private |
Definition at line 172 of file BmnFHCalReconstructor.cxx.
References TTree::Branch(), TString::Data(), TObject::Delete(), TTree::Delete(), TTreeFormula::EvalInstance(), fArrayOfDigits, TTree::Fill(), fIsExp, fRecoCutsFile, fSelectedDigiVector, TTree::GetEntries(), TTree::GetEntry(), TTreeFormula::GetNdata(), ROOT::v5::TFormula::GetNdim(), i, and TTree::SetBranchAddress().
Referenced by Exec().
|
private |
References fBmnFHCalEvent, and fSelectedDigiVector.
|
virtual |
Definition at line 36 of file BmnFHCalReconstructor.cxx.
References fArrayOfDigits, fArrayOfPoints, fBmnFHCalEvent, fDoMatchMC, fIsExp, fpFairRootMgr, fworkTime, and ParseGeometry().
|
virtual |
|
private |
Definition at line 212 of file BmnFHCalReconstructor.cxx.
References fArrayOfPoints, fBmnFHCalEvent, and fpFairRootMgr.
Referenced by Exec().
|
private |
References BmnFHCalReconstructor(), fDoMatchMC, fIsExp, fIsGlobal, fRecoCutsFile, fSelectionString, and fworkTime.
|
virtual |
| resultTree |
Reimplemented from BmnTask.
Definition at line 245 of file BmnFHCalReconstructor.cxx.
References fBmnFHCalEvent.
|
virtual |
| resultTree |
Reimplemented from BmnTask.
References fArrayOfDigits, fArrayOfPoints, and fpFairRootMgr.
| void BmnFHCalReconstructor::ParseCuts | ( | ) |
Definition at line 73 of file BmnFHCalReconstructor.cxx.
References fIsExp, fRecoCutsFile, and fSelectionString.
Referenced by SetRecoCutsFile().
| void BmnFHCalReconstructor::ParseCuts | ( | ) |
| void BmnFHCalReconstructor::ParseGeometry | ( | ) |
Definition at line 111 of file BmnFHCalReconstructor.cxx.
References fBmnFHCalEvent, fIsGlobal, BmnFHCalGeo::GetMaxModuleId(), BmnFHCalAddress::GetModuleId(), BmnFHCalAddress::GetModuleType(), BmnGeoTemplate< Derived >::GetPositionMap(), BmnFHCalAddress::GetSectionId(), and BmnGeoTemplate< Derived >::ReadGeometryFromGeoManager().
Referenced by Init().
| void BmnFHCalReconstructor::ParseGeometry | ( | ) |
| void BmnFHCalReconstructor::SetRecoCutsFile | ( | TString | reco_cuts_file | ) |
Definition at line 23 of file BmnFHCalReconstructor.cxx.
References fRecoCutsFile, and ParseCuts().
Referenced by run_reco_bmn(), run_reco_bmn(), run_reco_bmn(), and run_reco_bmn().
| void BmnFHCalReconstructor::SetRecoCutsFile | ( | TString | reco_cuts_file | ) |
|
private |
Definition at line 46 of file BmnFHCalReconstructor.h.
Referenced by GetSelectedDigiVector(), Init(), and OnlineWrite().
|
private |
Definition at line 47 of file BmnFHCalReconstructor.h.
Referenced by Init(), MatchMCTracks(), and OnlineWrite().
|
private |
Definition at line 50 of file BmnFHCalReconstructor.h.
Referenced by ~BmnFHCalReconstructor(), Exec(), GetSelectedDigiVector(), Init(), MatchMCTracks(), OnlineWrite(), and ParseGeometry().
|
private |
Definition at line 57 of file BmnFHCalReconstructor.h.
Referenced by BmnFHCalReconstructor(), Exec(), Init(), and MatchMCTracks().
|
private |
Definition at line 55 of file BmnFHCalReconstructor.h.
Referenced by BmnFHCalReconstructor(), Exec(), GetSelectedDigiVector(), Init(), MatchMCTracks(), and ParseCuts().
|
private |
Definition at line 56 of file BmnFHCalReconstructor.h.
Referenced by BmnFHCalReconstructor(), MatchMCTracks(), and ParseGeometry().
|
private |
Definition at line 45 of file BmnFHCalReconstructor.h.
Referenced by Init(), MatchMCTracks(), and OnlineWrite().
|
private |
Definition at line 53 of file BmnFHCalReconstructor.h.
Referenced by GetSelectedDigiVector(), MatchMCTracks(), ParseCuts(), and SetRecoCutsFile().
|
private |
Definition at line 49 of file BmnFHCalReconstructor.h.
Referenced by GetSelectedDigiVector().
|
private |
Definition at line 54 of file BmnFHCalReconstructor.h.
Referenced by Exec(), MatchMCTracks(), and ParseCuts().
|
private |
Definition at line 59 of file BmnFHCalReconstructor.h.
Referenced by Exec(), Finish(), Init(), and MatchMCTracks().