CbmRoot
LxTBTrdFinder Class Reference

#include <LxTBTrdTask.h>

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

Classes

struct  PointDataHolder
 
struct  TrackDataHolder
 

Public Member Functions

 LxTBTrdFinder ()
 
 LxTBTrdFinder (const LxTBTrdFinder &)=delete
 
LxTBTrdFinderoperator= (const LxTBTrdFinder &)=delete
 
InitStatus Init ()
 
void Exec (Option_t *opt)
 
void Finish ()
 
void SetTrigDistance (Double_t v)
 
void SetNEvents (Int_t v)
 

Private Member Functions

void HandleGeometry ()
 

Private Attributes

LxTbBinnedFinderfFinder
 
Double_t fTrigDistance
 
std::list< LxTbBinnedFinder::Chain * > recoTracks
 
unsigned int nof_timebins
 
unsigned int last_timebin
 
TClonesArray * fTrdHits
 
TClonesArray * fTrdClusters
 
TClonesArray * fTrdDigiMatches
 
TClonesArray * fTrdTracks
 
TClonesArray * fGlobalTracks
 
CbmMCDataArrayfTrdMCPoints
 
std::vector< std::vector< TrackDataHolder > > fMCTracks
 
std::vector< std::vector< PointDataHolder > > fTrdPoints
 
Int_t fNEvents
 

Detailed Description

Definition at line 25 of file LxTBTrdTask.h.

Constructor & Destructor Documentation

◆ LxTBTrdFinder() [1/2]

LxTBTrdFinder::LxTBTrdFinder ( )

◆ LxTBTrdFinder() [2/2]

LxTBTrdFinder::LxTBTrdFinder ( const LxTBTrdFinder )
delete

Member Function Documentation

◆ Exec()

void LxTBTrdFinder::Exec ( Option_t *  opt)

Definition at line 415 of file LxTBTrdTask.cxx.

References CbmTrack::AddHit(), LxTbBinnedStation::binSizeX, LxTbBinnedStation::binSizeY, LxTbBinnedFinder::Chain::chi2, LxTbBinnedFinder::Clear(), CUR_LAST_STATION, CUR_TIMEBIN_LENGTH, currentEventN, fFinder, fGlobalTracks, fTrdClusters, fTrdDigiMatches, fTrdHits, fTrdMCPoints, fTrdTracks, CbmMCDataArray::Get(), CbmCluster::GetDigi(), CbmPixelHit::GetDx(), CbmPixelHit::GetDy(), CbmLink::GetIndex(), CbmMatch::GetLink(), CbmCluster::GetNofDigis(), CbmMatch::GetNofLinks(), CbmTrdHit::GetPlaneId(), CbmHit::GetRefId(), CbmPixelHit::GetX(), CbmPixelHit::GetY(), gMaxDx, gMaxDy, i, LxTbBinnedPoint::isTrd, kTRDHIT, last_timebin, LxTbBinnedStation::lastXBin, LxTbBinnedStation::lastYBin, LxTbBinnedPoint::mcRefs, LxTbBinnedFinder::minT, LxTbBinnedStation::minX, LxTbBinnedStation::minY, LxTbBinnedFinder::Chain::nofPoints, LxTbBinnedFinder::nofTrackBins, LxTbXBin::points, LxTbBinnedFinder::Chain::points, LxTbBinnedFinder::Reconstruct(), recoTracks, LxTbBinnedFinder::recoTracks, LxTbBinnedPoint::refId, scaltype, CbmTrack::SetChiSq(), CbmTrack::SetNDF(), CbmGlobalTrack::SetTrdTrackIndex(), LxTbBinnedFinder::SetTSBegin(), SpliceTriggerings(), LxTbBinnedPoint::stationNumber, LxTbBinnedFinder::stations, timetype, 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, tsStartTime, LxTbBinnedStation::tyxBins, LxTbXBin::use, LxTbYXBin::use, LxTbTYXBin::use, x, LxTbYXBin::xBins, y, and LxTbTYXBin::yxBins.

◆ Finish()

◆ HandleGeometry()

void LxTBTrdFinder::HandleGeometry ( )
private

◆ Init()

InitStatus LxTBTrdFinder::Init ( )

Definition at line 166 of file LxTBTrdTask.cxx.

References LxTbBinnedStation::binSizeX, LxTbBinnedStation::binSizeY, CUR_NOF_STATIONS, CUR_TIMEBIN_LENGTH, LxTbBinnedStation::deltaThetaX, LxTbBinnedStation::deltaThetaY, LxTbBinnedStation::dispX, LxTbBinnedStation::dispY, LxTBTrdFinder::PointDataHolder::eventId, fFinder, fGlobalTracks, LxTbBinnedFinder::fHasTrd, fMCTracks, fNEvents, fTrdClusters, fTrdDigiMatches, fTrdHits, fTrdMCPoints, fTrdPoints, fTrdTracks, CbmMCDataArray::Get(), GetHistoRMS(), CbmTrdAddress::GetLayerId(), CbmTrdPoint::GetModuleAddress(), CbmMCTrack::GetMotherId(), CbmMCTrack::GetPdgCode(), CbmMCTrack::GetStartZ(), CbmTrdPoint::GetXIn(), CbmTrdPoint::GetXOut(), CbmTrdPoint::GetYIn(), CbmTrdPoint::GetYOut(), CbmTrdPoint::GetZIn(), CbmTrdPoint::GetZOut(), HandleGeometry(), i, CbmMCDataManager::InitBranch(), LxTBTrdFinder::TrackDataHolder::isSignal, LxTBTrdFinder::PointDataHolder::layerNumber, LxTbBinnedStation::maxX, LxTbBinnedStation::maxY, mcTracks, LxTbBinnedStation::minX, LxTbBinnedStation::minY, nof_timebins, LxTbBinnedStation::nofXBins, LxTbBinnedStation::nofYBins, LxTBTrdFinder::TrackDataHolder::pdg, LxTBTrdFinder::PointDataHolder::pointId, LxTBTrdFinder::TrackDataHolder::pointInds, scaltype, signalDistanceHisto, CbmMCDataArray::Size(), speedOfLight, sqrt(), LxTbBinnedFinder::stations, LxTBTrdFinder::PointDataHolder::t, LxTBTrdFinder::PointDataHolder::trackId, LxTBTrdFinder::PointDataHolder::x, LxTBTrdFinder::PointDataHolder::y, LxTBTrdFinder::TrackDataHolder::z, LxTBTrdFinder::PointDataHolder::z, and LxTbBinnedStation::z.

◆ operator=()

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

◆ SetNEvents()

void LxTBTrdFinder::SetNEvents ( Int_t  v)
inline

Definition at line 64 of file LxTBTrdTask.h.

References fNEvents, and v.

◆ SetTrigDistance()

void LxTBTrdFinder::SetTrigDistance ( Double_t  v)
inline

Definition at line 61 of file LxTBTrdTask.h.

References fTrigDistance, and v.

Member Data Documentation

◆ fFinder

LxTbBinnedFinder* LxTBTrdFinder::fFinder
private

Definition at line 69 of file LxTBTrdTask.h.

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

◆ fGlobalTracks

TClonesArray* LxTBTrdFinder::fGlobalTracks
private

Definition at line 78 of file LxTBTrdTask.h.

Referenced by Exec(), and Init().

◆ fMCTracks

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

Definition at line 81 of file LxTBTrdTask.h.

Referenced by Finish(), and Init().

◆ fNEvents

Int_t LxTBTrdFinder::fNEvents
private

Definition at line 83 of file LxTBTrdTask.h.

Referenced by Init(), and SetNEvents().

◆ fTrdClusters

TClonesArray* LxTBTrdFinder::fTrdClusters
private

Definition at line 75 of file LxTBTrdTask.h.

Referenced by Exec(), and Init().

◆ fTrdDigiMatches

TClonesArray* LxTBTrdFinder::fTrdDigiMatches
private

Definition at line 76 of file LxTBTrdTask.h.

Referenced by Exec(), and Init().

◆ fTrdHits

TClonesArray* LxTBTrdFinder::fTrdHits
private

Definition at line 74 of file LxTBTrdTask.h.

Referenced by Exec(), and Init().

◆ fTrdMCPoints

CbmMCDataArray* LxTBTrdFinder::fTrdMCPoints
private

Definition at line 80 of file LxTBTrdTask.h.

Referenced by Exec(), and Init().

◆ fTrdPoints

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

Definition at line 82 of file LxTBTrdTask.h.

Referenced by Init().

◆ fTrdTracks

TClonesArray* LxTBTrdFinder::fTrdTracks
private

Definition at line 77 of file LxTBTrdTask.h.

Referenced by Exec(), and Init().

◆ fTrigDistance

Double_t LxTBTrdFinder::fTrigDistance
private

Definition at line 70 of file LxTBTrdTask.h.

Referenced by Finish(), and SetTrigDistance().

◆ last_timebin

unsigned int LxTBTrdFinder::last_timebin
private

Definition at line 73 of file LxTBTrdTask.h.

Referenced by Exec().

◆ nof_timebins

unsigned int LxTBTrdFinder::nof_timebins
private

Definition at line 72 of file LxTBTrdTask.h.

Referenced by Init().

◆ recoTracks

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

Definition at line 71 of file LxTBTrdTask.h.

Referenced by Exec(), and Finish().


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