BmnRoot 26.10.0-210-gc52d34b0
Software framework of the BM@N experiment
Loading...
Searching...
No Matches
BmnScWallReconstructor Class Reference

Class for BmnScWallEvent reconstruction (creation) from BmnScWallDigi {Data} or BmnScWallDigit {Sim}. More...

#include <BmnScWallReconstructor.h>

Inheritance diagram for BmnScWallReconstructor:
Collaboration diagram for BmnScWallReconstructor:

Public Member Functions

 BmnScWallReconstructor (bool isExp, bool isGlobalCoordinates)
 ~BmnScWallReconstructor ()
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

Private Member Functions

std::vector< TObject * > GetSelectedDigiVector (TString formulaString)

Private Attributes

FairRootManager * fpFairRootMgr = nullptr
TClonesArray * fArrayOfDigits
std::vector< TObject * > fSelectedDigiVector
BmnScWallEvent * fBmnScWallEvent = nullptr
TString fRecoCutsFile
TString fSelectionString = "(1)"
bool fIsExp
bool fIsGlobal
float fworkTime

Detailed Description

Version
1.0

Definition at line 29 of file BmnScWallReconstructor.h.

Constructor & Destructor Documentation

◆ BmnScWallReconstructor()

BmnScWallReconstructor::BmnScWallReconstructor ( bool isExp,
bool isGlobalCoordinates )

Definition at line 12 of file BmnScWallReconstructor.cxx.

References fIsExp, and fIsGlobal.

◆ ~BmnScWallReconstructor()

BmnScWallReconstructor::~BmnScWallReconstructor ( )

Definition at line 26 of file BmnScWallReconstructor.cxx.

References fBmnScWallEvent.

Member Function Documentation

◆ Exec()

void BmnScWallReconstructor::Exec ( Option_t * opt)
virtual

Definition at line 112 of file BmnScWallReconstructor.cxx.

References fBmnScWallEvent, BmnScWallEvent::fgkMaxCells, fSelectionString, fworkTime, BmnScWallDigit::GetCellId(), GetSelectedDigiVector(), BmnAbstractDigit::GetSignal(), TStopwatch::RealTime(), TStopwatch::Start(), and TStopwatch::Stop().

Here is the call graph for this function:

◆ Finish()

void BmnScWallReconstructor::Finish ( )
virtual

Definition at line 188 of file BmnScWallReconstructor.cxx.

References fworkTime.

◆ GetSelectedDigiVector()

std::vector< TObject * > BmnScWallReconstructor::GetSelectedDigiVector ( TString formulaString)
private

Definition at line 139 of file BmnScWallReconstructor.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().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Init()

InitStatus BmnScWallReconstructor::Init ( )
virtual

Definition at line 32 of file BmnScWallReconstructor.cxx.

References fArrayOfDigits, fBmnScWallEvent, fIsExp, fpFairRootMgr, fworkTime, and ParseGeometry().

Here is the call graph for this function:

◆ OnlineWrite()

void BmnScWallReconstructor::OnlineWrite ( const std::unique_ptr< TTree > & resultTree)
virtual
Parameters
resultTree

Reimplemented from BmnTask.

Definition at line 179 of file BmnScWallReconstructor.cxx.

References fBmnScWallEvent.

◆ ParseCuts()

void BmnScWallReconstructor::ParseCuts ( )

Definition at line 54 of file BmnScWallReconstructor.cxx.

References fIsExp, fRecoCutsFile, and fSelectionString.

Referenced by SetRecoCutsFile().

Here is the caller graph for this function:

◆ ParseGeometry()

void BmnScWallReconstructor::ParseGeometry ( )

Definition at line 92 of file BmnScWallReconstructor.cxx.

References fBmnScWallEvent, fIsGlobal, BmnScWallAddress::GetCellId(), BmnGeoTemplate< Derived >::GetPositionMap(), and BmnGeoTemplate< Derived >::ReadGeometryFromGeoManager().

Referenced by Init().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ SetRecoCutsFile()

void BmnScWallReconstructor::SetRecoCutsFile ( TString reco_cuts_file)

Definition at line 19 of file BmnScWallReconstructor.cxx.

References fRecoCutsFile, and ParseCuts().

Referenced by dump_hits(), rc_rlerr(), run_reco_aln(), run_reco_bmn(), run_reco_bmn(), run_reco_bmn(), run_reco_bmn(), and run_reco_noa().

Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ fArrayOfDigits

TClonesArray* BmnScWallReconstructor::fArrayOfDigits
private

Definition at line 46 of file BmnScWallReconstructor.h.

Referenced by GetSelectedDigiVector(), and Init().

◆ fBmnScWallEvent

BmnScWallEvent* BmnScWallReconstructor::fBmnScWallEvent = nullptr
private

◆ fIsExp

bool BmnScWallReconstructor::fIsExp
private

◆ fIsGlobal

bool BmnScWallReconstructor::fIsGlobal
private

Definition at line 54 of file BmnScWallReconstructor.h.

Referenced by BmnScWallReconstructor(), and ParseGeometry().

◆ fpFairRootMgr

FairRootManager* BmnScWallReconstructor::fpFairRootMgr = nullptr
private

Definition at line 45 of file BmnScWallReconstructor.h.

Referenced by Init().

◆ fRecoCutsFile

TString BmnScWallReconstructor::fRecoCutsFile
private

Definition at line 51 of file BmnScWallReconstructor.h.

Referenced by GetSelectedDigiVector(), ParseCuts(), and SetRecoCutsFile().

◆ fSelectedDigiVector

std::vector<TObject*> BmnScWallReconstructor::fSelectedDigiVector
private

Definition at line 48 of file BmnScWallReconstructor.h.

Referenced by GetSelectedDigiVector().

◆ fSelectionString

TString BmnScWallReconstructor::fSelectionString = "(1)"
private

Definition at line 52 of file BmnScWallReconstructor.h.

Referenced by Exec(), and ParseCuts().

◆ fworkTime

float BmnScWallReconstructor::fworkTime
private

Definition at line 56 of file BmnScWallReconstructor.h.

Referenced by Exec(), Finish(), and Init().


The documentation for this class was generated from the following files: