CbmRoot
|
#include <LxTBTrdTask.h>
Classes | |
struct | PointDataHolder |
struct | TrackDataHolder |
Public Member Functions | |
LxTBTrdFinder () | |
LxTBTrdFinder (const LxTBTrdFinder &)=delete | |
LxTBTrdFinder & | operator= (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 | |
LxTbBinnedFinder * | fFinder |
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 |
CbmMCDataArray * | fTrdMCPoints |
std::vector< std::vector< TrackDataHolder > > | fMCTracks |
std::vector< std::vector< PointDataHolder > > | fTrdPoints |
Int_t | fNEvents |
Definition at line 25 of file LxTBTrdTask.h.
LxTBTrdFinder::LxTBTrdFinder | ( | ) |
|
delete |
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.
void LxTBTrdFinder::Finish | ( | ) |
Definition at line 583 of file LxTBTrdTask.cxx.
References CUR_NOF_STATIONS, RecoTrackData::eventId, fMCTracks, fTrigDistance, i, LxTBTrdFinder::TrackDataHolder::isSignal, m, LxTbBinnedPoint::mcRefs, LxTBTrdFinder::TrackDataHolder::pointInds, LxTbBinnedFinder::Chain::points, recoTracks, SaveHisto(), scaltype, signalDistanceHisto, sqrt(), RecoTrackData::trackId, LxTbBinnedPoint::x, and LxTbBinnedPoint::y.
|
private |
Definition at line 72 of file LxTBTrdTask.cxx.
References fFinder, FindGeoChild(), i, LxTbBinnedStation::maxX, LxTbBinnedStation::maxY, LxTbBinnedStation::minX, LxTbBinnedStation::minY, LxTbBinnedFinder::stations, and LxTbBinnedStation::z.
Referenced by 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.
|
delete |
|
inline |
Definition at line 64 of file LxTBTrdTask.h.
|
inline |
Definition at line 61 of file LxTBTrdTask.h.
References fTrigDistance, and v.
|
private |
Definition at line 69 of file LxTBTrdTask.h.
Referenced by Exec(), HandleGeometry(), and Init().
|
private |
Definition at line 78 of file LxTBTrdTask.h.
|
private |
Definition at line 81 of file LxTBTrdTask.h.
|
private |
Definition at line 83 of file LxTBTrdTask.h.
Referenced by Init(), and SetNEvents().
|
private |
Definition at line 75 of file LxTBTrdTask.h.
|
private |
Definition at line 76 of file LxTBTrdTask.h.
|
private |
Definition at line 74 of file LxTBTrdTask.h.
|
private |
Definition at line 80 of file LxTBTrdTask.h.
|
private |
Definition at line 82 of file LxTBTrdTask.h.
Referenced by Init().
|
private |
Definition at line 77 of file LxTBTrdTask.h.
|
private |
Definition at line 70 of file LxTBTrdTask.h.
Referenced by Finish(), and SetTrigDistance().
|
private |
Definition at line 73 of file LxTBTrdTask.h.
Referenced by Exec().
|
private |
Definition at line 72 of file LxTBTrdTask.h.
Referenced by Init().
|
private |
Definition at line 71 of file LxTBTrdTask.h.