CbmRoot
|
#include <Lx.h>
Public Member Functions | |
LxFinderTriplet () | |
~LxFinderTriplet () | |
InitStatus | Init () |
void | Exec (Option_t *opt) |
void | SetGenInvMass (bool value) |
void | SetGenBackground (bool value) |
void | SetGenChi2 (bool value) |
void | SetLinkWithSts (bool value) |
void | SetUseMCPInsteadOfHits (bool value) |
void | SetCalcMiddlePoints (bool value) |
void | SetCutCoeff (Double_t value) |
void | SetParticleType (TString v) |
Static Public Member Functions | |
static LxFinderTriplet * | Instance () |
Private Member Functions | |
void | SaveRecoTracks () |
void | CalcInvMass () |
void | FinishTask () |
void | SaveEventTracks () |
void | SaveInvMass () |
void | SaveBackground () |
void | MatchRecoToMC () |
ClassDef (LxFinderTriplet, 1) | |
Private Attributes | |
TClonesArray * | muchPixelHits |
TClonesArray * | listMCTracks |
TClonesArray * | listMuchPts |
TClonesArray * | listMuchClusters |
TClonesArray * | listMuchPixelDigiMatches |
TClonesArray * | listStsTracks |
TClonesArray * | listStsMatches |
TClonesArray * | listStsPts |
TClonesArray * | listRecoTracks |
LxEff | effCounter |
CbmStsKFTrackFitter | extFitter |
CbmVertex * | fPrimVtx |
std::list< CbmStsTrack > | positiveTracks |
std::list< CbmStsTrack > | negativeTracks |
bool | generateInvMass |
bool | generateBackground |
bool | generateChi2 |
bool | linkWithSts |
bool | useMCPInsteadOfHits |
bool | calcMiddlePoints |
Double_t | cutCoeff |
bool | pPtCut |
std::vector< LxMCPoint > | MCPoints |
std::vector< LxMCTrack > | MCTracks |
std::list< LxStsMCPoint > | MCStsPoints |
std::list< LxStsMCPoint * > | MCStsPointsByStations [8] |
std::list< LxMCPoint * > | MCPointsByStations [LXSTATIONS][LXLAYERS] |
Double_t | zCoordsByStations [LXSTATIONS][LXLAYERS] |
LxSpace | caSpace |
std::map< Int_t, std::map< Int_t, int > > | particleCounts |
std::ofstream | incomplete_events |
Int_t | eventNumber |
Static Private Attributes | |
static LxFinderTriplet * | fInstance = 0 |
static TH1F * | massHisto = 0 |
static CbmStsTrack * | superEventData = 0 |
static TTree * | superEventTracks = 0 |
static TH1F * | signalChi2Histo = 0 |
static TH1F * | backgroundChi2Histo = 0 |
static TH1F * | unknownChi2Histo = 0 |
static TProfile * | effByMomentumProfile = 0 |
static TH1F * | signalInterTracksDistance = 0 |
static TH1F * | bgrInterTracksDistance = 0 |
static TH1F * | signalSignDefect = 0 |
static TH1F * | bgrSignDefect = 0 |
static TH1F * | signalYAtZ0 = 0 |
static TH1F * | bgrYAtZ0 = 0 |
static TH1F * | signalYAtZ0_2 = 0 |
static TH1F * | bgrYAtZ0_2 = 0 |
Friends | |
struct | LxEff |
class | LxDraw |
Definition at line 28 of file riplet/Lx.h.
|
explicit |
Definition at line 85 of file riplet/Lx.cxx.
References fInstance.
LxFinderTriplet::~LxFinderTriplet | ( | ) |
Definition at line 130 of file riplet/Lx.cxx.
|
private |
Definition at line 1018 of file riplet/Lx.cxx.
References caSpace, CbmStsKFTrackFitter::DoFit(), LxTrack::externalTrack, extFitter, CbmStsKFTrackFitter::Extrapolate(), fPrimVtx, generateChi2, CbmStsKFTrackFitter::GetChiToVertex(), CbmVertex::GetZ(), i, LxExtTrack::mcTrack, LxTrack::mcTrack, LxMCTrack::mother_ID, particleCounts, LxMCTrack::pdg, LxExtTrack::track, and LxSpace::tracks.
Referenced by Exec().
|
private |
void LxFinderTriplet::Exec | ( | Option_t * | opt | ) |
Definition at line 464 of file riplet/Lx.cxx.
References LxSpace::AddPoint(), CalcInvMass(), LxEff::CalcRecoEff(), caSpace, LxSpace::Clear(), disperseDHistos, disperseLHistos, disperseRHistos, CbmStsKFTrackFitter::DoFit(), effCounter, eventNumber, LxMCTrack::externalTrack, extFitter, LxExtTrack::extId, CbmStsKFTrackFitter::Extrapolate(), LxSpace::extTracks, fabs(), LxSpace::FitTracks(), fPrimVtx, LxMCTrack::fUniqueID, generateBackground, generateInvMass, CbmHit::GetAddress(), CbmStsKFTrackFitter::GetChiToVertex(), CbmMuchPoint::GetDetectorId(), CbmCluster::GetDigi(), CbmStsAddress::GetElementId(), CbmLink::GetIndex(), CbmMuchGeoScheme::GetLayerIndex(), CbmMatch::GetLink(), CbmTrackMatch::GetMCTrackId(), CbmMCTrack::GetMotherId(), CbmCluster::GetNofDigis(), CbmTrackMatch::GetNofFakeHits(), CbmMatch::GetNofLinks(), CbmTrackMatch::GetNofTrueHits(), CbmTrackMatch::GetNofWrongHits(), CbmMCTrack::GetP(), CbmTrack::GetParamFirst(), CbmTrack::GetParamLast(), CbmMCTrack::GetPdgCode(), CbmMCTrack::GetPx(), CbmMCTrack::GetPy(), CbmMCTrack::GetPz(), CbmHit::GetRefId(), CbmMCTrack::GetStartX(), CbmMCTrack::GetStartY(), CbmMCTrack::GetStartZ(), CbmMuchGeoScheme::GetStationIndex(), CbmVertex::GetZ(), i, LxSpace::JoinExtTracks(), LxMCPoint::layerNumber, linkWithSts, listMCTracks, listMuchClusters, listMuchPixelDigiMatches, listMuchPts, listRecoTracks, listStsMatches, listStsPts, listStsTracks, LXLAYERS, LXSTATIONS, MatchRecoToMC(), LxPoint::mcPoints, MCPoints, MCPointsByStations, MCStsPoints, MCStsPointsByStations, LxStsMCPoint::mcTrack, LxExtTrack::mcTrack, MCTracks, memset(), CbmMuchPoint::MomentumOut(), CbmStsPoint::MomentumOut(), LxMCTrack::mother_ID, muchPixelHits, nTimes, LxMCPoint::p, LxMCTrack::p, LxStsMCPoint::p, LxMCTrack::pdg, PI, points, LxMCTrack::Points, pos, CbmPixelHit::Position(), CbmPixelHit::PositionError(), CbmMuchPoint::PositionOut(), CbmStsPoint::PositionOut(), LxMCPoint::px, LxMCTrack::px, LxStsMCPoint::px, LxMCPoint::py, LxMCTrack::py, LxStsMCPoint::py, LxMCPoint::pz, LxMCTrack::pz, LxStsMCPoint::pz, LxMCTrack::q, LxSpace::Reconstruct(), SaveEventTracks(), sqrt(), LxMCPoint::stationNumber, LxStsMCPoint::stationNumber, stsTrackChi2, stsTrackX, stsTrackY, LxMCPoint::track, LxExtTrack::track, LxMCPoint::trackId, useMCPInsteadOfHits, LxMCPoint::x, LxMCTrack::x, LxStsMCPoint::x, x, LxMCPoint::y, LxMCTrack::y, LxStsMCPoint::y, y, LxMCPoint::z, LxMCTrack::z, LxStsMCPoint::z, and zCoordsByStations.
|
private |
Definition at line 1137 of file riplet/Lx.cxx.
References backgroundChi2Histo, bgrInterTracksDistance, bgrSignDefect, bgrYAtZ0, bgrYAtZ0_2, disperseDHistos, disperseLHistos, disperseRHistos, effByMomentumProfile, generateBackground, generateInvMass, i, incomplete_events, SaveBackground(), SaveHisto(), SaveInvMass(), signalChi2Histo, signalInterTracksDistance, signalSignDefect, signalYAtZ0, signalYAtZ0_2, stsTrackChi2, stsTrackX, stsTrackY, superEventData, and unknownChi2Histo.
InitStatus LxFinderTriplet::Init | ( | ) |
Definition at line 179 of file riplet/Lx.cxx.
References backgroundChi2Histo, bgrInterTracksDistance, bgrSignDefect, bgrYAtZ0, bgrYAtZ0_2, caSpace, disperseDHistos, disperseLHistos, disperseRHistos, effByMomentumProfile, fPrimVtx, generateBackground, generateInvMass, GetHistoRMS(), i, incomplete_events, LxStation::layers, listMCTracks, listMuchClusters, listMuchPixelDigiMatches, listMuchPts, listRecoTracks, listStsMatches, listStsPts, listStsTracks, LXLAYERS, LXMIDDLE, LXSTATIONS, massHisto, muchPixelHits, nTimes, signalChi2Histo, signalInterTracksDistance, signalSignDefect, signalYAtZ0, signalYAtZ0_2, LxSpace::stations, stsTrackChi2, stsTrackX, stsTrackY, superEventData, superEventTracks, LxStation::txInterTripletBreak, LxStation::txInterTripletBreak2, LxStation::tyInterTripletBreak, LxStation::tyInterTripletBreak2, unknownChi2Histo, LxStation::xDispLeft, LxStation::xDispLeft2, LxStation::xDispRight, LxStation::xDispRight2, LxStation::xDispRL, LxStation::xDispRL2, LxStation::xOutDispVertex, LxStation::xOutDispVertex2, LxStation::yDispLeft, LxStation::yDispLeft2, LxStation::yDispRight, LxStation::yDispRight2, LxStation::yDispRL, LxStation::yDispRL2, LxStation::yOutDispVertex, LxStation::yOutDispVertex2, LxStation::zCoord, and zCoordsByStations.
|
static |
Definition at line 50 of file riplet/Lx.cxx.
|
private |
Definition at line 1052 of file riplet/LxEff.cxx.
References LxTrack::branches, caSpace, LxTriplet::center, LxTrack::clone, i, InterLinesDist(), LXLAYERS, LxPoint::mcPoints, mcTracks, LxMCTrack::mother_ID, LxMCTrack::pdg, LxTrack::points, RecoTrackChi2(), LxSpace::stationsInAlgo, LxMCPoint::track, LxSpace::tracks, LxTriplet::tx, LxTriplet::ty, LxPoint::x, LxPoint::y, and LxPoint::z.
Referenced by Exec().
|
private |
Definition at line 1222 of file riplet/Lx.cxx.
References i, negativeTracks, positiveTracks, and superEventTracks.
Referenced by FinishTask().
|
private |
Definition at line 6 of file riplet/LxUtils.cxx.
References caSpace, LxTrack::externalTrack, CbmTrack::GetParamLast(), i, CbmTrack::SetParamFirst(), LxExtTrack::track, and LxSpace::tracks.
Referenced by Exec().
|
private |
|
private |
Definition at line 982 of file riplet/Lx.cxx.
References CbmTrack::AddHit(), caSpace, LxTrack::chi2, LxTrack::externalTrack, LxExtTrack::extId, CbmTrack::GetParamLast(), LxPoint::hitId, i, kMUCHPIXELHIT, listRecoTracks, LXLAYERS, LXSTATIONS, LxTrack::points, CbmTrack::SetChiSq(), CbmTrack::SetFlag(), CbmTrack::SetNDF(), CbmTrack::SetParamFirst(), CbmTrack::SetParamLast(), CbmTrack::SetPreviousTrackId(), LxExtTrack::track, and LxSpace::tracks.
|
inline |
Definition at line 49 of file riplet/Lx.h.
References calcMiddlePoints.
|
inline |
Definition at line 51 of file riplet/Lx.h.
References cutCoeff.
|
inline |
Definition at line 41 of file riplet/Lx.h.
References generateBackground.
|
inline |
Definition at line 43 of file riplet/Lx.h.
References generateChi2.
|
inline |
Definition at line 39 of file riplet/Lx.h.
References generateInvMass.
|
inline |
Definition at line 45 of file riplet/Lx.h.
References linkWithSts.
|
inline |
Definition at line 53 of file riplet/Lx.h.
References caSpace, lxFinderParticleType, pPtCut, LxSpace::stationsInAlgo, and v.
|
inline |
Definition at line 47 of file riplet/Lx.h.
References useMCPInsteadOfHits.
|
friend |
Definition at line 30 of file riplet/Lx.h.
|
friend |
Definition at line 29 of file riplet/Lx.h.
|
staticprivate |
Definition at line 90 of file riplet/Lx.h.
Referenced by FinishTask(), and Init().
|
staticprivate |
Definition at line 94 of file riplet/Lx.h.
Referenced by FinishTask(), and Init().
|
staticprivate |
Definition at line 96 of file riplet/Lx.h.
Referenced by FinishTask(), and Init().
|
staticprivate |
Definition at line 98 of file riplet/Lx.h.
Referenced by FinishTask(), and Init().
|
staticprivate |
Definition at line 100 of file riplet/Lx.h.
Referenced by FinishTask(), and Init().
|
private |
Definition at line 111 of file riplet/Lx.h.
Referenced by SetCalcMiddlePoints().
|
private |
Definition at line 124 of file riplet/Lx.h.
Referenced by LxEff::AnalyzeNotMatchedMC(), CalcInvMass(), LxEff::CalcRecoEff(), Exec(), Init(), SaveRecoTracks(), and SetParticleType().
|
private |
Definition at line 112 of file riplet/Lx.h.
Referenced by SetCutCoeff().
|
staticprivate |
Definition at line 92 of file riplet/Lx.h.
Referenced by FinishTask(), and Init().
|
private |
Definition at line 84 of file riplet/Lx.h.
Referenced by Exec().
|
private |
Definition at line 130 of file riplet/Lx.h.
Referenced by LxEff::CalcRecoEff(), and Exec().
|
private |
Definition at line 101 of file riplet/Lx.h.
Referenced by CalcInvMass(), and Exec().
|
staticprivate |
Definition at line 73 of file riplet/Lx.h.
Referenced by LxFinderTriplet().
|
private |
Definition at line 102 of file riplet/Lx.h.
Referenced by CalcInvMass(), Exec(), and Init().
|
private |
Definition at line 107 of file riplet/Lx.h.
Referenced by Exec(), FinishTask(), Init(), and SetGenBackground().
|
private |
Definition at line 108 of file riplet/Lx.h.
Referenced by CalcInvMass(), and SetGenChi2().
|
private |
Definition at line 106 of file riplet/Lx.h.
Referenced by Exec(), FinishTask(), Init(), and SetGenInvMass().
|
private |
Definition at line 128 of file riplet/Lx.h.
Referenced by LxEff::CalcRecoEff(), FinishTask(), and Init().
|
private |
Definition at line 109 of file riplet/Lx.h.
Referenced by Exec(), and SetLinkWithSts().
|
private |
Definition at line 75 of file riplet/Lx.h.
|
private |
Definition at line 77 of file riplet/Lx.h.
|
private |
Definition at line 78 of file riplet/Lx.h.
|
private |
Definition at line 76 of file riplet/Lx.h.
|
private |
Definition at line 83 of file riplet/Lx.h.
Referenced by Exec(), Init(), and SaveRecoTracks().
|
private |
Definition at line 80 of file riplet/Lx.h.
|
private |
Definition at line 82 of file riplet/Lx.h.
|
private |
Definition at line 79 of file riplet/Lx.h.
|
staticprivate |
Definition at line 85 of file riplet/Lx.h.
Referenced by Init(), and SaveInvMass().
|
private |
Definition at line 115 of file riplet/Lx.h.
Referenced by Exec().
|
private |
Definition at line 121 of file riplet/Lx.h.
Referenced by Exec().
|
private |
Definition at line 118 of file riplet/Lx.h.
Referenced by Exec().
|
private |
Definition at line 119 of file riplet/Lx.h.
Referenced by Exec().
|
private |
Definition at line 117 of file riplet/Lx.h.
Referenced by LxEff::CalcRecoEff(), and Exec().
|
private |
Definition at line 74 of file riplet/Lx.h.
|
private |
Definition at line 105 of file riplet/Lx.h.
Referenced by SaveBackground().
|
private |
Definition at line 125 of file riplet/Lx.h.
Referenced by CalcInvMass().
|
private |
Definition at line 104 of file riplet/Lx.h.
Referenced by SaveBackground().
|
private |
Definition at line 113 of file riplet/Lx.h.
Referenced by LxEff::CalcRecoEff(), and SetParticleType().
|
staticprivate |
Definition at line 89 of file riplet/Lx.h.
Referenced by FinishTask(), and Init().
|
staticprivate |
Definition at line 93 of file riplet/Lx.h.
Referenced by FinishTask(), and Init().
|
staticprivate |
Definition at line 95 of file riplet/Lx.h.
Referenced by FinishTask(), and Init().
|
staticprivate |
Definition at line 97 of file riplet/Lx.h.
Referenced by FinishTask(), and Init().
|
staticprivate |
Definition at line 99 of file riplet/Lx.h.
Referenced by FinishTask(), and Init().
|
staticprivate |
Definition at line 87 of file riplet/Lx.h.
Referenced by FinishTask(), and Init().
|
staticprivate |
Definition at line 88 of file riplet/Lx.h.
Referenced by Init(), and SaveBackground().
|
staticprivate |
Definition at line 91 of file riplet/Lx.h.
Referenced by FinishTask(), and Init().
|
private |
Definition at line 110 of file riplet/Lx.h.
Referenced by Exec(), and SetUseMCPInsteadOfHits().
|
private |
Definition at line 122 of file riplet/Lx.h.