CbmRoot
|
#include <LxTBTask.h>
Classes | |
struct | PointDataHolder |
struct | TrackDataHolder |
Public Member Functions | |
LxTBFinder () | |
LxTBFinder (const LxTBFinder &)=delete | |
LxTBFinder & | operator= (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 |
CbmMCDataArray * | fMuchMCPoints |
TClonesArray * | fMuchPixelHits |
TClonesArray * | fMuchClusters |
TClonesArray * | fMuchPixelDigiMatches |
std::vector< std::vector< PointDataHolder > > | fTrdPoints |
CbmMCDataArray * | fTrdMCPoints |
TClonesArray * | fTrdHits |
TClonesArray * | fTrdClusters |
TClonesArray * | fTrdDigiMatches |
TClonesArray * | fMvdDigis |
TClonesArray * | fStsDigis |
TClonesArray * | fTofDigis |
std::vector< std::vector< TrackDataHolder > > | fMCTracks |
bool | isEvByEv |
LxTbBinnedFinder * | fFinder |
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 |
Definition at line 40 of file LxTBTask.h.
LxTBFinder::LxTBFinder | ( | ) |
Definition at line 56 of file LxTBTask.cxx.
|
delete |
|
private |
hasTrd &&
Definition at line 965 of file LxTBTask.cxx.
References CUR_LAST_STATION, CUR_TIMEBIN_LENGTH, currentEventN, CbmCluster::GetDigi(), CbmPixelHit::GetDx(), CbmPixelHit::GetDy(), CbmLink::GetEntry(), CbmLink::GetIndex(), CbmMatch::GetLink(), CbmCluster::GetNofDigis(), CbmMatch::GetNofLinks(), CbmHit::GetRefId(), CbmHit::GetTime(), CbmPixelHit::GetX(), CbmPixelHit::GetY(), i, LxTbBinnedPoint::isTrd, max_ts_time, LxTbBinnedPoint::mcRefs, min_ts_time, LxTbXBin::points, scaltype, LxTbBinnedPoint::stationNumber, LxTbBinnedPoint::t, timetype, ts_points, LxTbXBin::use, LxTbYXBin::use, LxTbTYXBin::use, x, LxTbYXBin::xBins, y, and LxTbTYXBin::yxBins.
Referenced by 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.
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.
|
private |
Definition at line 138 of file LxTBTask.cxx.
References LxTbAbsorber::A, LxTbBinnedStation::absorber, LxTbBinnedTrdStation::absorber, LxTbBinnedStation::binSizeX, LxTbBinnedTrdStation::binSizeX, LxTbBinnedStation::binSizeY, LxTbBinnedTrdStation::binSizeY, CUR_NOF_STATIONS, CUR_NOF_TRD_LAYERS, fFinder, FindGeoChild(), i, m, LxTbBinnedStation::maxX, LxTbBinnedTrdStation::maxX, LxTbBinnedStation::maxY, LxTbBinnedTrdStation::maxY, LxTbBinnedStation::minX, LxTbBinnedTrdStation::minX, LxTbBinnedStation::minY, LxTbBinnedTrdStation::minY, LxTbAbsorber::radLength, LxTbAbsorber::rho, LxTbBinnedStation::stationNumber, LxTbBinnedFinder::stations, LxTbBinnedFinder::trdStation, LxTbAbsorber::width, LxTbAbsorber::Z, LxTbBinnedStation::z, LxTbAbsorber::zCoord, and LxTbBinnedTrdStation::Zs.
Referenced by 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.
|
delete |
|
inline |
Definition at line 82 of file LxTBTask.h.
References isEvByEv, last_timebin, nof_timebins, and v.
|
inline |
Definition at line 101 of file LxTBTask.h.
|
inline |
Definition at line 100 of file LxTBTask.h.
References fSignalParticle.
|
inline |
Definition at line 99 of file LxTBTask.h.
References useAsciiSig, and v.
|
inline |
Definition at line 98 of file LxTBTask.h.
|
inline |
Definition at line 97 of file LxTBTask.h.
|
private |
Definition at line 160 of file LxTBTask.h.
|
private |
Definition at line 152 of file LxTBTask.h.
Referenced by Init().
|
private |
Definition at line 142 of file LxTBTask.h.
Referenced by Exec(), Finish(), HandleGeometry(), and Init().
|
private |
Definition at line 139 of file LxTBTask.h.
|
private |
Definition at line 123 of file LxTBTask.h.
Referenced by Init().
|
private |
Definition at line 121 of file LxTBTask.h.
Referenced by Init().
|
private |
Definition at line 124 of file LxTBTask.h.
|
private |
Definition at line 122 of file LxTBTask.h.
|
private |
Definition at line 120 of file LxTBTask.h.
Referenced by Init().
|
private |
Definition at line 133 of file LxTBTask.h.
|
private |
Definition at line 151 of file LxTBTask.h.
Referenced by Init(), and SetNEvents().
|
private |
Definition at line 148 of file LxTBTask.h.
Referenced by Init(), and SetSignalParticle().
|
private |
Definition at line 134 of file LxTBTask.h.
|
private |
Definition at line 135 of file LxTBTask.h.
|
private |
Definition at line 129 of file LxTBTask.h.
Referenced by Init().
|
private |
Definition at line 130 of file LxTBTask.h.
|
private |
Definition at line 128 of file LxTBTask.h.
|
private |
Definition at line 127 of file LxTBTask.h.
Referenced by Init().
|
private |
Definition at line 126 of file LxTBTask.h.
Referenced by Init().
|
private |
Definition at line 144 of file LxTBTask.h.
|
private |
Definition at line 141 of file LxTBTask.h.
Referenced by SetEvByEv().
|
private |
Definition at line 150 of file LxTBTask.h.
Referenced by Finish(), and SetEvByEv().
|
private |
Definition at line 149 of file LxTBTask.h.
Referenced by Finish(), Init(), and SetEvByEv().
|
private |
Definition at line 143 of file LxTBTask.h.
|
private |
Definition at line 147 of file LxTBTask.h.
Referenced by Init(), and SetUseAsciiSig().
|
private |
Definition at line 146 of file LxTBTask.h.
Referenced by SetUseIdeal().
|
private |
Definition at line 145 of file LxTBTask.h.
Referenced by Init(), and SetUseTrd().