CbmRoot
LxTBFinder Class Reference

#include <LxTBTask.h>

Inheritance diagram for LxTBFinder:
[legend]
Collaboration diagram for LxTBFinder:
[legend]

Classes

struct  PointDataHolder
 
struct  TrackDataHolder
 

Public Member Functions

 LxTBFinder ()
 
 LxTBFinder (const LxTBFinder &)=delete
 
LxTBFinderoperator= (const LxTBFinder &)=delete
 
InitStatus Init ()
 
void Exec (Option_t *opt)
 
void Finish ()
 
void SetEvByEv (bool v=true)
 
void SetUseTrd (bool v=true)
 
void SetUseIdeal (bool v=true)
 
void SetUseAsciiSig (bool v=true)
 
void SetSignalParticle (const char *name)
 
void SetNEvents (Int_t v)
 

Private Member Functions

void HandleGeometry ()
 
void AddHit (const CbmPixelHit *hit, Int_t stationNumber, Int_t refId, bool isTrd)
 

Private Attributes

std::vector< std::vector< PointDataHolder > > fMuchPoints
 
CbmMCDataArrayfMuchMCPoints
 
TClonesArray * fMuchPixelHits
 
TClonesArray * fMuchClusters
 
TClonesArray * fMuchPixelDigiMatches
 
std::vector< std::vector< PointDataHolder > > fTrdPoints
 
CbmMCDataArrayfTrdMCPoints
 
TClonesArray * fTrdHits
 
TClonesArray * fTrdClusters
 
TClonesArray * fTrdDigiMatches
 
TClonesArray * fMvdDigis
 
TClonesArray * fStsDigis
 
TClonesArray * fTofDigis
 
std::vector< std::vector< TrackDataHolder > > fMCTracks
 
bool isEvByEv
 
LxTbBinnedFinderfFinder
 
std::list< LxTbBinnedFinder::Chain * > recoTracks
 
bool hasTrd
 
bool useTrd
 
bool useIdeal
 
bool useAsciiSig
 
const char * fSignalParticle
 
unsigned int nof_timebins
 
unsigned int last_timebin
 
Int_t fNEvents
 
std::vector< Double_t > fEventTimes
 
int dummy
 

Detailed Description

Definition at line 40 of file LxTBTask.h.

Constructor & Destructor Documentation

◆ LxTBFinder() [1/2]

LxTBFinder::LxTBFinder ( )

Definition at line 56 of file LxTBTask.cxx.

◆ LxTBFinder() [2/2]

LxTBFinder::LxTBFinder ( const LxTBFinder )
delete

Member Function Documentation

◆ AddHit()

◆ Exec()

void LxTBFinder::Exec ( Option_t *  opt)

Definition at line 1304 of file LxTBTask.cxx.

References AddHit(), LxTbBinnedFinder::Clear(), CUR_NOF_STATIONS, currentEventN, fFinder, fMuchPixelDigiMatches, fMuchPixelHits, fMvdDigis, fStsDigis, fTofDigis, fTrdDigiMatches, fTrdHits, CbmHit::GetAddress(), CbmMuchGeoScheme::GetLayerIndex(), CbmTrdHit::GetPlaneId(), CbmMuchGeoScheme::GetStationIndex(), hasTrd, i, nof_digis, nof_ev_digis(), LxTbBinnedFinder::nofTrackBins, LxTbBinnedFinder::Reconstruct(), recoTracks, LxTbBinnedFinder::recoTracks, LxTbBinnedFinder::SetTSBegin(), SpliceTriggerings(), triggerTimes_trd05_sign0_dist0, LxTbBinnedFinder::triggerTimes_trd05_sign0_dist0, triggerTimes_trd05_sign0_dist1, LxTbBinnedFinder::triggerTimes_trd05_sign0_dist1, triggerTimes_trd05_sign1_dist0, LxTbBinnedFinder::triggerTimes_trd05_sign1_dist0, triggerTimes_trd05_sign1_dist1, LxTbBinnedFinder::triggerTimes_trd05_sign1_dist1, triggerTimes_trd0_sign0_dist0, LxTbBinnedFinder::triggerTimes_trd0_sign0_dist0, triggerTimes_trd0_sign0_dist1, LxTbBinnedFinder::triggerTimes_trd0_sign0_dist1, triggerTimes_trd0_sign1_dist0, LxTbBinnedFinder::triggerTimes_trd0_sign1_dist0, triggerTimes_trd0_sign1_dist1, LxTbBinnedFinder::triggerTimes_trd0_sign1_dist1, triggerTimes_trd1_sign0_dist0, LxTbBinnedFinder::triggerTimes_trd1_sign0_dist0, triggerTimes_trd1_sign0_dist1, LxTbBinnedFinder::triggerTimes_trd1_sign0_dist1, triggerTimes_trd1_sign1_dist0, LxTbBinnedFinder::triggerTimes_trd1_sign1_dist0, triggerTimes_trd1_sign1_dist1, LxTbBinnedFinder::triggerTimes_trd1_sign1_dist1, and tsStartTime.

◆ Finish()

void LxTBFinder::Finish ( )

hasTrd &&

Definition at line 1525 of file LxTBTask.cxx.

References LxTbBinnedStation::binSizeX, LxTbBinnedTrdStation::binSizeX, LxTbBinnedStation::binSizeY, LxTbBinnedTrdStation::binSizeY, CUR_LAST_STATION, CUR_NOF_STATIONS, CUR_TIMEBIN_LENGTH, currentEventN, LxTbBinnedPoint::dt, fFinder, fMCTracks, fullDuration, hasTrd, LxTbBinnedFinder::Chain::highMom, i, LxTBFinder::TrackDataHolder::isSignalLong, LxTBFinder::TrackDataHolder::isSignalShort, LxTbBinnedPoint::isTrd, last_timebin, LxTbBinnedStation::lastXBin, LxTbBinnedTrdStation::lastXBin, LxTbBinnedStation::lastYBin, LxTbBinnedTrdStation::lastYBin, longSignalMCTimes, m, max_ts_time, LxTbBinnedPoint::mcRefs, middleSignalMCTimes, min_ts_time, LxTbBinnedFinder::minT, LxTbBinnedStation::minX, LxTbBinnedTrdStation::minX, LxTbBinnedStation::minY, LxTbBinnedTrdStation::minY, nof_digis, nof_ev_digis(), nof_timebins, LxTbBinnedFinder::nofTrackBins, LxTBFinder::TrackDataHolder::pointInds, LxTbXBin::points, LxTbBinnedFinder::Chain::points, PrintTrigger(), LxTbBinnedFinder::Reconstruct(), recoTracks, LxTbBinnedFinder::recoTracks, scaltype, shortSignalMCTimes, SpliceTriggerings(), LxTbBinnedPoint::stationNumber, LxTbBinnedFinder::stations, LxTbBinnedPoint::t, timetype, LxTbBinnedFinder::trdStation, LxTbBinnedFinder::triggerEventNumber, triggerTimes_trd05_sign0_dist0, LxTbBinnedFinder::triggerTimes_trd05_sign0_dist0, triggerTimes_trd05_sign0_dist1, LxTbBinnedFinder::triggerTimes_trd05_sign0_dist1, triggerTimes_trd05_sign1_dist0, LxTbBinnedFinder::triggerTimes_trd05_sign1_dist0, triggerTimes_trd05_sign1_dist1, LxTbBinnedFinder::triggerTimes_trd05_sign1_dist1, triggerTimes_trd0_sign0_dist0, LxTbBinnedFinder::triggerTimes_trd0_sign0_dist0, triggerTimes_trd0_sign0_dist1, LxTbBinnedFinder::triggerTimes_trd0_sign0_dist1, triggerTimes_trd0_sign1_dist0, LxTbBinnedFinder::triggerTimes_trd0_sign1_dist0, triggerTimes_trd0_sign1_dist1, LxTbBinnedFinder::triggerTimes_trd0_sign1_dist1, triggerTimes_trd1_sign0_dist0, LxTbBinnedFinder::triggerTimes_trd1_sign0_dist0, triggerTimes_trd1_sign0_dist1, LxTbBinnedFinder::triggerTimes_trd1_sign0_dist1, triggerTimes_trd1_sign1_dist0, LxTbBinnedFinder::triggerTimes_trd1_sign1_dist0, triggerTimes_trd1_sign1_dist1, LxTbBinnedFinder::triggerTimes_trd1_sign1_dist1, ts_points, LxTbBinnedStation::tyxBins, LxTbBinnedTrdStation::tyxBinsArr, LxTbXBin::use, LxTbYXBin::use, LxTbTYXBin::use, v, LxTbBinnedPoint::x, LxTbYXBin::xBins, LxTbBinnedPoint::y, and LxTbTYXBin::yxBins.

◆ HandleGeometry()

◆ Init()

InitStatus LxTBFinder::Init ( )

Definition at line 411 of file LxTBTask.cxx.

References CUR_LAST_STATION, CUR_NOF_STATIONS, CUR_NOF_TRD_LAYERS, CUR_TIMEBIN_LENGTH, LxTBFinder::PointDataHolder::eventId, fEventTimes, fFinder, LxTbBinnedFinder::SignalParticle::fHasTrd, fMCTracks, fMuchClusters, fMuchMCPoints, fMuchPixelDigiMatches, fMuchPixelHits, fMuchPoints, fMvdDigis, fNEvents, LxTbBinnedFinder::SignalParticle::fPdgCode, fSignalParticle, LxTbBinnedFinder::fSignalParticle, fStsDigis, fTofDigis, fTrdClusters, fTrdDigiMatches, fTrdHits, fTrdMCPoints, fTrdPoints, gElectronMass, CbmMCDataArray::Get(), CbmMuchPoint::GetDetectorId(), CbmMCTrack::GetEnergy(), CbmTrdAddress::GetLayerId(), CbmMuchGeoScheme::GetLayerIndex(), CbmMCTrack::GetMass(), CbmTrdPoint::GetModuleAddress(), CbmMCTrack::GetMotherId(), CbmMCTrack::GetP(), CbmMCTrack::GetPdgCode(), CbmMCTrack::GetPx(), CbmMCTrack::GetPy(), CbmMCTrack::GetPz(), CbmMCTrack::GetStartX(), CbmMCTrack::GetStartY(), CbmMCTrack::GetStartZ(), CbmMuchGeoScheme::GetStationIndex(), CbmTrdPoint::GetXIn(), CbmMuchPoint::GetXIn(), CbmTrdPoint::GetXOut(), CbmMuchPoint::GetXOut(), CbmTrdPoint::GetYIn(), CbmMuchPoint::GetYIn(), CbmTrdPoint::GetYOut(), CbmMuchPoint::GetYOut(), CbmTrdPoint::GetZIn(), CbmTrdPoint::GetZOut(), gMuonMass, HandleGeometry(), HasTrd(), hasTrd, i, LxTbBinnedFinder::Init(), CbmMCDataManager::InitBranch(), LxTBFinder::TrackDataHolder::isPos, LxTBFinder::TrackDataHolder::isSignalLong, LxTBFinder::TrackDataHolder::isSignalShort, LxTBFinder::PointDataHolder::layerNumber, longSignalMCTimes, m, mcTracks, middleSignalMCTimes, nof_timebins, LxTBFinder::PointDataHolder::pointId, LxTBFinder::TrackDataHolder::pointInds, LxTbBinnedFinder::SetSignalParticle(), shortSignalMCTimes, CbmMCDataArray::Size(), speedOfLight, sqrt(), LxTBFinder::PointDataHolder::stationNumber, LxTBFinder::PointDataHolder::t, timetype, LxTBFinder::PointDataHolder::trackId, LxTBFinder::TrackDataHolder::trdPointInds, useAsciiSig, useTrd, LxTBFinder::PointDataHolder::x, LxTBFinder::PointDataHolder::y, and LxTBFinder::PointDataHolder::z.

◆ operator=()

LxTBFinder& LxTBFinder::operator= ( const LxTBFinder )
delete

◆ SetEvByEv()

void LxTBFinder::SetEvByEv ( bool  v = true)
inline

Definition at line 82 of file LxTBTask.h.

References isEvByEv, last_timebin, nof_timebins, and v.

◆ SetNEvents()

void LxTBFinder::SetNEvents ( Int_t  v)
inline

Definition at line 101 of file LxTBTask.h.

References fNEvents, and v.

◆ SetSignalParticle()

void LxTBFinder::SetSignalParticle ( const char *  name)
inline

Definition at line 100 of file LxTBTask.h.

References fSignalParticle.

◆ SetUseAsciiSig()

void LxTBFinder::SetUseAsciiSig ( bool  v = true)
inline

Definition at line 99 of file LxTBTask.h.

References useAsciiSig, and v.

◆ SetUseIdeal()

void LxTBFinder::SetUseIdeal ( bool  v = true)
inline

Definition at line 98 of file LxTBTask.h.

References useIdeal, and v.

◆ SetUseTrd()

void LxTBFinder::SetUseTrd ( bool  v = true)
inline

Definition at line 97 of file LxTBTask.h.

References useTrd, and v.

Member Data Documentation

◆ dummy

int LxTBFinder::dummy
private

Definition at line 160 of file LxTBTask.h.

◆ fEventTimes

std::vector<Double_t> LxTBFinder::fEventTimes
private

Definition at line 152 of file LxTBTask.h.

Referenced by Init().

◆ fFinder

LxTbBinnedFinder* LxTBFinder::fFinder
private

Definition at line 142 of file LxTBTask.h.

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

◆ fMCTracks

std::vector<std::vector<TrackDataHolder> > LxTBFinder::fMCTracks
private

Definition at line 139 of file LxTBTask.h.

Referenced by Finish(), and Init().

◆ fMuchClusters

TClonesArray* LxTBFinder::fMuchClusters
private

Definition at line 123 of file LxTBTask.h.

Referenced by Init().

◆ fMuchMCPoints

CbmMCDataArray* LxTBFinder::fMuchMCPoints
private

Definition at line 121 of file LxTBTask.h.

Referenced by Init().

◆ fMuchPixelDigiMatches

TClonesArray* LxTBFinder::fMuchPixelDigiMatches
private

Definition at line 124 of file LxTBTask.h.

Referenced by Exec(), and Init().

◆ fMuchPixelHits

TClonesArray* LxTBFinder::fMuchPixelHits
private

Definition at line 122 of file LxTBTask.h.

Referenced by Exec(), and Init().

◆ fMuchPoints

std::vector<std::vector<PointDataHolder> > LxTBFinder::fMuchPoints
private

Definition at line 120 of file LxTBTask.h.

Referenced by Init().

◆ fMvdDigis

TClonesArray* LxTBFinder::fMvdDigis
private

Definition at line 133 of file LxTBTask.h.

Referenced by Exec(), and Init().

◆ fNEvents

Int_t LxTBFinder::fNEvents
private

Definition at line 151 of file LxTBTask.h.

Referenced by Init(), and SetNEvents().

◆ fSignalParticle

const char* LxTBFinder::fSignalParticle
private

Definition at line 148 of file LxTBTask.h.

Referenced by Init(), and SetSignalParticle().

◆ fStsDigis

TClonesArray* LxTBFinder::fStsDigis
private

Definition at line 134 of file LxTBTask.h.

Referenced by Exec(), and Init().

◆ fTofDigis

TClonesArray* LxTBFinder::fTofDigis
private

Definition at line 135 of file LxTBTask.h.

Referenced by Exec(), and Init().

◆ fTrdClusters

TClonesArray* LxTBFinder::fTrdClusters
private

Definition at line 129 of file LxTBTask.h.

Referenced by Init().

◆ fTrdDigiMatches

TClonesArray* LxTBFinder::fTrdDigiMatches
private

Definition at line 130 of file LxTBTask.h.

Referenced by Exec(), and Init().

◆ fTrdHits

TClonesArray* LxTBFinder::fTrdHits
private

Definition at line 128 of file LxTBTask.h.

Referenced by Exec(), and Init().

◆ fTrdMCPoints

CbmMCDataArray* LxTBFinder::fTrdMCPoints
private

Definition at line 127 of file LxTBTask.h.

Referenced by Init().

◆ fTrdPoints

std::vector<std::vector<PointDataHolder> > LxTBFinder::fTrdPoints
private

Definition at line 126 of file LxTBTask.h.

Referenced by Init().

◆ hasTrd

bool LxTBFinder::hasTrd
private

Definition at line 144 of file LxTBTask.h.

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

◆ isEvByEv

bool LxTBFinder::isEvByEv
private

Definition at line 141 of file LxTBTask.h.

Referenced by SetEvByEv().

◆ last_timebin

unsigned int LxTBFinder::last_timebin
private

Definition at line 150 of file LxTBTask.h.

Referenced by Finish(), and SetEvByEv().

◆ nof_timebins

unsigned int LxTBFinder::nof_timebins
private

Definition at line 149 of file LxTBTask.h.

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

◆ recoTracks

std::list<LxTbBinnedFinder::Chain*> LxTBFinder::recoTracks
private

Definition at line 143 of file LxTBTask.h.

Referenced by Exec(), and Finish().

◆ useAsciiSig

bool LxTBFinder::useAsciiSig
private

Definition at line 147 of file LxTBTask.h.

Referenced by Init(), and SetUseAsciiSig().

◆ useIdeal

bool LxTBFinder::useIdeal
private

Definition at line 146 of file LxTBTask.h.

Referenced by SetUseIdeal().

◆ useTrd

bool LxTBFinder::useTrd
private

Definition at line 145 of file LxTBTask.h.

Referenced by Init(), and SetUseTrd().


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