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

Class for BmnHodoEvent reconstruction (creation) from BmnHodoDigi {Data} or BmnHodoDigit {Sim}. More...

#include <BmnHodoReconstructor.h>

Inheritance diagram for BmnHodoReconstructor:
Collaboration diagram for BmnHodoReconstructor:

Public Member Functions

 BmnHodoReconstructor (bool isExp)
 ~BmnHodoReconstructor ()
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< BmnHodoDigit * > GetDenoisedDigis ()
void MarkPileup (const std::vector< BmnHodoDigit * > &input)
void BuildFilteredStripMap ()
void ProcessStrip (BmnHodoStrip &strip)

Private Attributes

FairRootManager * fpFairRootMgr = nullptr
TClonesArray * fArrayOfDigits
BmnHodoEvent * fBmnHodoEvent = nullptr
BmnHodoCuts * fCuts = nullptr
bool fIsExp
float fworkTime

Detailed Description

Version
1.0

Definition at line 33 of file BmnHodoReconstructor.h.

Constructor & Destructor Documentation

◆ BmnHodoReconstructor()

BmnHodoReconstructor::BmnHodoReconstructor ( bool isExp)

Definition at line 12 of file BmnHodoReconstructor.cxx.

References fArrayOfDigits, fBmnHodoEvent, fCuts, fIsExp, and fworkTime.

◆ ~BmnHodoReconstructor()

BmnHodoReconstructor::~BmnHodoReconstructor ( )

Definition at line 54 of file BmnHodoReconstructor.cxx.

References fBmnHodoEvent, and fCuts.

Member Function Documentation

◆ BuildFilteredStripMap()

void BmnHodoReconstructor::BuildFilteredStripMap ( )
private

Definition at line 225 of file BmnHodoReconstructor.cxx.

References fBmnHodoEvent, fIsExp, GetDenoisedDigis(), and MarkPileup().

Referenced by Exec().

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

◆ Exec()

void BmnHodoReconstructor::Exec ( Option_t * opt)
virtual

Definition at line 143 of file BmnHodoReconstructor.cxx.

References BuildFilteredStripMap(), fBmnHodoEvent, fworkTime, i, ProcessStrip(), TStopwatch::RealTime(), TStopwatch::Start(), and TStopwatch::Stop().

Here is the call graph for this function:

◆ Finish()

void BmnHodoReconstructor::Finish ( )
virtual

Definition at line 248 of file BmnHodoReconstructor.cxx.

References fworkTime.

◆ GetDenoisedDigis()

std::vector< BmnHodoDigit * > BmnHodoReconstructor::GetDenoisedDigis ( )
private

Definition at line 172 of file BmnHodoReconstructor.cxx.

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

Referenced by BuildFilteredStripMap().

Here is the caller graph for this function:

◆ Init()

InitStatus BmnHodoReconstructor::Init ( )
virtual

Definition at line 62 of file BmnHodoReconstructor.cxx.

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

Here is the call graph for this function:

◆ MarkPileup()

void BmnHodoReconstructor::MarkPileup ( const std::vector< BmnHodoDigit * > & input)
private

Definition at line 201 of file BmnHodoReconstructor.cxx.

References d, fBmnHodoEvent, BmnHodoAddress::GetStripId(), BmnHodoStrip::Resolved, and BmnHodoStrip::Unresolved.

Referenced by BuildFilteredStripMap().

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

◆ OnlineWrite()

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

Reimplemented from BmnTask.

Definition at line 239 of file BmnHodoReconstructor.cxx.

References fBmnHodoEvent.

◆ ParseGeometry()

void BmnHodoReconstructor::ParseGeometry ( )

Definition at line 36 of file BmnHodoReconstructor.cxx.

References fBmnHodoEvent, BmnGeoTemplate< Derived >::GetPositionMap(), BmnHodoAddress::GetStripId(), and BmnGeoTemplate< Derived >::ReadGeometryFromGeoManager().

Referenced by Init().

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

◆ ProcessStrip()

void BmnHodoReconstructor::ProcessStrip ( BmnHodoStrip & strip)
private

Definition at line 89 of file BmnHodoReconstructor.cxx.

References fIsExp, BmnHodoStrip::GetDigits(), BmnHodoStrip::SetIntegral(), BmnHodoStrip::SetSignal(), and signal().

Referenced by Exec().

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

◆ SetRecoCutsFile()

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

Definition at line 22 of file BmnHodoReconstructor.cxx.

References fCuts, fIsExp, and BmnHodoCuts::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

◆ fArrayOfDigits

TClonesArray* BmnHodoReconstructor::fArrayOfDigits
private

Definition at line 49 of file BmnHodoReconstructor.h.

Referenced by BmnHodoReconstructor(), GetDenoisedDigis(), and Init().

◆ fBmnHodoEvent

BmnHodoEvent* BmnHodoReconstructor::fBmnHodoEvent = nullptr
private

◆ fCuts

BmnHodoCuts* BmnHodoReconstructor::fCuts = nullptr
private

◆ fIsExp

bool BmnHodoReconstructor::fIsExp
private

◆ fpFairRootMgr

FairRootManager* BmnHodoReconstructor::fpFairRootMgr = nullptr
private

Definition at line 48 of file BmnHodoReconstructor.h.

Referenced by Init().

◆ fworkTime

float BmnHodoReconstructor::fworkTime
private

Definition at line 59 of file BmnHodoReconstructor.h.

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


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