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

Class for BmnNdetEvent reconstruction (creation) from BmnNdetDigi {Data} or BmnNdetDigit {Sim}. More...

#include <BmnNdetReconstructor.h>

Inheritance diagram for BmnNdetReconstructor:
Collaboration diagram for BmnNdetReconstructor:

Public Member Functions

 BmnNdetReconstructor (bool isExp, bool isGlobalCoordinates=true)
 ~BmnNdetReconstructor ()
virtual InitStatus Init ()
void ParseGeometry ()
void SetRecoCutsFile (const std::string &cuts)
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< BmnNdetDigit * > GetSelectedDigis ()
void MatchMCTracks ()

Private Attributes

FairRootManager * fpFairRootMgr = nullptr
BmnNdetGeo * fGeoHandler = nullptr
std::vector< TClonesArray * > fDigits
TClonesArray * fArrayOfPoints = nullptr
BmnNdetEvent * fBmnNdetEvent = nullptr
TClonesArray * fArrayOfSurfacePoints = nullptr
BmnNdetCuts * fCuts = nullptr
bool fIsExp
bool fDoMatchMC = false
bool fIsGlobal
float fworkTime

Detailed Description

Version
1.0

Definition at line 26 of file BmnNdetReconstructor.h.

Constructor & Destructor Documentation

◆ BmnNdetReconstructor()

BmnNdetReconstructor::BmnNdetReconstructor ( bool isExp,
bool isGlobalCoordinates = true )

Definition at line 20 of file BmnNdetReconstructor.cxx.

References fBmnNdetEvent, fCuts, fDoMatchMC, fIsExp, fIsGlobal, and fworkTime.

◆ ~BmnNdetReconstructor()

BmnNdetReconstructor::~BmnNdetReconstructor ( )

Definition at line 45 of file BmnNdetReconstructor.cxx.

References fBmnNdetEvent, fCuts, and fGeoHandler.

Member Function Documentation

◆ Exec()

void BmnNdetReconstructor::Exec ( Option_t * opt)
virtual

Definition at line 115 of file BmnNdetReconstructor.cxx.

References fBmnNdetEvent, fDoMatchMC, fGeoHandler, fIsExp, fworkTime, GetSelectedDigis(), MatchMCTracks(), TStopwatch::RealTime(), BmnNdetCell::SetAddress(), BmnNdetCell::SetSignal(), BmnNdetCell::SetTime(), TStopwatch::Start(), and TStopwatch::Stop().

Here is the call graph for this function:

◆ Finish()

void BmnNdetReconstructor::Finish ( )
virtual

Definition at line 231 of file BmnNdetReconstructor.cxx.

References fworkTime.

◆ GetSelectedDigis()

std::vector< BmnNdetDigit * > BmnNdetReconstructor::GetSelectedDigis ( )
private

Definition at line 151 of file BmnNdetReconstructor.cxx.

References d, fCuts, fDigits, fIsExp, and i.

Referenced by Exec().

Here is the caller graph for this function:

◆ Init()

InitStatus BmnNdetReconstructor::Init ( )
virtual

Definition at line 55 of file BmnNdetReconstructor.cxx.

References fArrayOfPoints, fArrayOfSurfacePoints, fBmnNdetEvent, fDigits, fIsExp, fpFairRootMgr, fworkTime, and ParseGeometry().

Here is the call graph for this function:

◆ MatchMCTracks()

void BmnNdetReconstructor::MatchMCTracks ( )
private

Definition at line 186 of file BmnNdetReconstructor.cxx.

References fArrayOfPoints, fBmnNdetEvent, fpFairRootMgr, and BmnNdetCell::MCPoint.

Referenced by Exec().

Here is the caller graph for this function:

◆ OnlineWrite()

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

Reimplemented from BmnTask.

Definition at line 220 of file BmnNdetReconstructor.cxx.

References fArrayOfSurfacePoints, fBmnNdetEvent, and fIsExp.

◆ ParseGeometry()

void BmnNdetReconstructor::ParseGeometry ( )

Definition at line 109 of file BmnNdetReconstructor.cxx.

References fGeoHandler, and fIsGlobal.

Referenced by Init().

Here is the caller graph for this function:

◆ SetRecoCutsFile()

void BmnNdetReconstructor::SetRecoCutsFile ( const std::string & cuts)

Definition at line 31 of file BmnNdetReconstructor.cxx.

References fCuts, fIsExp, and BmnNdetCuts::Load().

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

◆ fArrayOfPoints

TClonesArray* BmnNdetReconstructor::fArrayOfPoints = nullptr
private

Definition at line 44 of file BmnNdetReconstructor.h.

Referenced by Init(), and MatchMCTracks().

◆ fArrayOfSurfacePoints

TClonesArray* BmnNdetReconstructor::fArrayOfSurfacePoints = nullptr
private

Definition at line 47 of file BmnNdetReconstructor.h.

Referenced by Init(), and OnlineWrite().

◆ fBmnNdetEvent

BmnNdetEvent* BmnNdetReconstructor::fBmnNdetEvent = nullptr
private

◆ fCuts

BmnNdetCuts* BmnNdetReconstructor::fCuts = nullptr
private

◆ fDigits

std::vector<TClonesArray*> BmnNdetReconstructor::fDigits
private

Definition at line 43 of file BmnNdetReconstructor.h.

Referenced by GetSelectedDigis(), and Init().

◆ fDoMatchMC

bool BmnNdetReconstructor::fDoMatchMC = false
private

Definition at line 53 of file BmnNdetReconstructor.h.

Referenced by BmnNdetReconstructor(), and Exec().

◆ fGeoHandler

BmnNdetGeo* BmnNdetReconstructor::fGeoHandler = nullptr
private

Definition at line 42 of file BmnNdetReconstructor.h.

Referenced by ~BmnNdetReconstructor(), Exec(), and ParseGeometry().

◆ fIsExp

bool BmnNdetReconstructor::fIsExp
private

◆ fIsGlobal

bool BmnNdetReconstructor::fIsGlobal
private

Definition at line 54 of file BmnNdetReconstructor.h.

Referenced by BmnNdetReconstructor(), and ParseGeometry().

◆ fpFairRootMgr

FairRootManager* BmnNdetReconstructor::fpFairRootMgr = nullptr
private

Definition at line 41 of file BmnNdetReconstructor.h.

Referenced by Init(), and MatchMCTracks().

◆ fworkTime

float BmnNdetReconstructor::fworkTime
private

Definition at line 56 of file BmnNdetReconstructor.h.

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


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