CbmRoot
LxFinderTriplet Class Reference

#include <Lx.h>

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

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 LxFinderTripletInstance ()
 

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
 
CbmVertexfPrimVtx
 
std::list< CbmStsTrackpositiveTracks
 
std::list< CbmStsTracknegativeTracks
 
bool generateInvMass
 
bool generateBackground
 
bool generateChi2
 
bool linkWithSts
 
bool useMCPInsteadOfHits
 
bool calcMiddlePoints
 
Double_t cutCoeff
 
bool pPtCut
 
std::vector< LxMCPointMCPoints
 
std::vector< LxMCTrackMCTracks
 
std::list< LxStsMCPointMCStsPoints
 
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 LxFinderTripletfInstance = 0
 
static TH1F * massHisto = 0
 
static CbmStsTracksuperEventData = 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
 

Detailed Description

Definition at line 28 of file riplet/Lx.h.

Constructor & Destructor Documentation

◆ LxFinderTriplet()

LxFinderTriplet::LxFinderTriplet ( )
explicit

Definition at line 85 of file riplet/Lx.cxx.

References fInstance.

◆ ~LxFinderTriplet()

LxFinderTriplet::~LxFinderTriplet ( )

Definition at line 130 of file riplet/Lx.cxx.

Member Function Documentation

◆ CalcInvMass()

◆ ClassDef()

LxFinderTriplet::ClassDef ( LxFinderTriplet  ,
 
)
private

◆ Exec()

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.

◆ FinishTask()

◆ Init()

◆ Instance()

LxFinderTriplet * LxFinderTriplet::Instance ( )
static

Definition at line 50 of file riplet/Lx.cxx.

◆ MatchRecoToMC()

◆ SaveBackground()

void LxFinderTriplet::SaveBackground ( )
private

Definition at line 1222 of file riplet/Lx.cxx.

References i, negativeTracks, positiveTracks, and superEventTracks.

Referenced by FinishTask().

◆ SaveEventTracks()

void LxFinderTriplet::SaveEventTracks ( )
private

◆ SaveInvMass()

void LxFinderTriplet::SaveInvMass ( )
private

Definition at line 1211 of file riplet/Lx.cxx.

References massHisto.

Referenced by FinishTask().

◆ SaveRecoTracks()

◆ SetCalcMiddlePoints()

void LxFinderTriplet::SetCalcMiddlePoints ( bool  value)
inline

Definition at line 49 of file riplet/Lx.h.

References calcMiddlePoints.

◆ SetCutCoeff()

void LxFinderTriplet::SetCutCoeff ( Double_t  value)
inline

Definition at line 51 of file riplet/Lx.h.

References cutCoeff.

◆ SetGenBackground()

void LxFinderTriplet::SetGenBackground ( bool  value)
inline

Definition at line 41 of file riplet/Lx.h.

References generateBackground.

◆ SetGenChi2()

void LxFinderTriplet::SetGenChi2 ( bool  value)
inline

Definition at line 43 of file riplet/Lx.h.

References generateChi2.

◆ SetGenInvMass()

void LxFinderTriplet::SetGenInvMass ( bool  value)
inline

Definition at line 39 of file riplet/Lx.h.

References generateInvMass.

◆ SetLinkWithSts()

void LxFinderTriplet::SetLinkWithSts ( bool  value)
inline

Definition at line 45 of file riplet/Lx.h.

References linkWithSts.

◆ SetParticleType()

void LxFinderTriplet::SetParticleType ( TString  v)
inline

Definition at line 53 of file riplet/Lx.h.

References caSpace, lxFinderParticleType, pPtCut, LxSpace::stationsInAlgo, and v.

◆ SetUseMCPInsteadOfHits()

void LxFinderTriplet::SetUseMCPInsteadOfHits ( bool  value)
inline

Definition at line 47 of file riplet/Lx.h.

References useMCPInsteadOfHits.

Friends And Related Function Documentation

◆ LxDraw

friend class LxDraw
friend

Definition at line 30 of file riplet/Lx.h.

◆ LxEff

friend struct LxEff
friend

Definition at line 29 of file riplet/Lx.h.

Member Data Documentation

◆ backgroundChi2Histo

TH1F * LxFinderTriplet::backgroundChi2Histo = 0
staticprivate

Definition at line 90 of file riplet/Lx.h.

Referenced by FinishTask(), and Init().

◆ bgrInterTracksDistance

TH1F * LxFinderTriplet::bgrInterTracksDistance = 0
staticprivate

Definition at line 94 of file riplet/Lx.h.

Referenced by FinishTask(), and Init().

◆ bgrSignDefect

TH1F * LxFinderTriplet::bgrSignDefect = 0
staticprivate

Definition at line 96 of file riplet/Lx.h.

Referenced by FinishTask(), and Init().

◆ bgrYAtZ0

TH1F * LxFinderTriplet::bgrYAtZ0 = 0
staticprivate

Definition at line 98 of file riplet/Lx.h.

Referenced by FinishTask(), and Init().

◆ bgrYAtZ0_2

TH1F * LxFinderTriplet::bgrYAtZ0_2 = 0
staticprivate

Definition at line 100 of file riplet/Lx.h.

Referenced by FinishTask(), and Init().

◆ calcMiddlePoints

bool LxFinderTriplet::calcMiddlePoints
private

Definition at line 111 of file riplet/Lx.h.

Referenced by SetCalcMiddlePoints().

◆ caSpace

LxSpace LxFinderTriplet::caSpace
private

◆ cutCoeff

Double_t LxFinderTriplet::cutCoeff
private

Definition at line 112 of file riplet/Lx.h.

Referenced by SetCutCoeff().

◆ effByMomentumProfile

TProfile * LxFinderTriplet::effByMomentumProfile = 0
staticprivate

Definition at line 92 of file riplet/Lx.h.

Referenced by FinishTask(), and Init().

◆ effCounter

LxEff LxFinderTriplet::effCounter
private

Definition at line 84 of file riplet/Lx.h.

Referenced by Exec().

◆ eventNumber

Int_t LxFinderTriplet::eventNumber
private

Definition at line 130 of file riplet/Lx.h.

Referenced by LxEff::CalcRecoEff(), and Exec().

◆ extFitter

CbmStsKFTrackFitter LxFinderTriplet::extFitter
private

Definition at line 101 of file riplet/Lx.h.

Referenced by CalcInvMass(), and Exec().

◆ fInstance

LxFinderTriplet * LxFinderTriplet::fInstance = 0
staticprivate

Definition at line 73 of file riplet/Lx.h.

Referenced by LxFinderTriplet().

◆ fPrimVtx

CbmVertex* LxFinderTriplet::fPrimVtx
private

Definition at line 102 of file riplet/Lx.h.

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

◆ generateBackground

bool LxFinderTriplet::generateBackground
private

Definition at line 107 of file riplet/Lx.h.

Referenced by Exec(), FinishTask(), Init(), and SetGenBackground().

◆ generateChi2

bool LxFinderTriplet::generateChi2
private

Definition at line 108 of file riplet/Lx.h.

Referenced by CalcInvMass(), and SetGenChi2().

◆ generateInvMass

bool LxFinderTriplet::generateInvMass
private

Definition at line 106 of file riplet/Lx.h.

Referenced by Exec(), FinishTask(), Init(), and SetGenInvMass().

◆ incomplete_events

std::ofstream LxFinderTriplet::incomplete_events
private

Definition at line 128 of file riplet/Lx.h.

Referenced by LxEff::CalcRecoEff(), FinishTask(), and Init().

◆ linkWithSts

bool LxFinderTriplet::linkWithSts
private

Definition at line 109 of file riplet/Lx.h.

Referenced by Exec(), and SetLinkWithSts().

◆ listMCTracks

TClonesArray* LxFinderTriplet::listMCTracks
private

Definition at line 75 of file riplet/Lx.h.

Referenced by Exec(), and Init().

◆ listMuchClusters

TClonesArray* LxFinderTriplet::listMuchClusters
private

Definition at line 77 of file riplet/Lx.h.

Referenced by Exec(), and Init().

◆ listMuchPixelDigiMatches

TClonesArray* LxFinderTriplet::listMuchPixelDigiMatches
private

Definition at line 78 of file riplet/Lx.h.

Referenced by Exec(), and Init().

◆ listMuchPts

TClonesArray* LxFinderTriplet::listMuchPts
private

Definition at line 76 of file riplet/Lx.h.

Referenced by Exec(), and Init().

◆ listRecoTracks

TClonesArray* LxFinderTriplet::listRecoTracks
private

Definition at line 83 of file riplet/Lx.h.

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

◆ listStsMatches

TClonesArray* LxFinderTriplet::listStsMatches
private

Definition at line 80 of file riplet/Lx.h.

Referenced by Exec(), and Init().

◆ listStsPts

TClonesArray* LxFinderTriplet::listStsPts
private

Definition at line 82 of file riplet/Lx.h.

Referenced by Exec(), and Init().

◆ listStsTracks

TClonesArray* LxFinderTriplet::listStsTracks
private

Definition at line 79 of file riplet/Lx.h.

Referenced by Exec(), and Init().

◆ massHisto

TH1F * LxFinderTriplet::massHisto = 0
staticprivate

Definition at line 85 of file riplet/Lx.h.

Referenced by Init(), and SaveInvMass().

◆ MCPoints

std::vector<LxMCPoint> LxFinderTriplet::MCPoints
private

Definition at line 115 of file riplet/Lx.h.

Referenced by Exec().

◆ MCPointsByStations

std::list<LxMCPoint*> LxFinderTriplet::MCPointsByStations[LXSTATIONS][LXLAYERS]
private

Definition at line 121 of file riplet/Lx.h.

Referenced by Exec().

◆ MCStsPoints

std::list<LxStsMCPoint> LxFinderTriplet::MCStsPoints
private

Definition at line 118 of file riplet/Lx.h.

Referenced by Exec().

◆ MCStsPointsByStations

std::list<LxStsMCPoint*> LxFinderTriplet::MCStsPointsByStations[8]
private

Definition at line 119 of file riplet/Lx.h.

Referenced by Exec().

◆ MCTracks

std::vector<LxMCTrack> LxFinderTriplet::MCTracks
private

Definition at line 117 of file riplet/Lx.h.

Referenced by LxEff::CalcRecoEff(), and Exec().

◆ muchPixelHits

TClonesArray* LxFinderTriplet::muchPixelHits
private

Definition at line 74 of file riplet/Lx.h.

Referenced by Exec(), and Init().

◆ negativeTracks

std::list<CbmStsTrack> LxFinderTriplet::negativeTracks
private

Definition at line 105 of file riplet/Lx.h.

Referenced by SaveBackground().

◆ particleCounts

std::map<Int_t, std::map<Int_t, int> > LxFinderTriplet::particleCounts
private

Definition at line 125 of file riplet/Lx.h.

Referenced by CalcInvMass().

◆ positiveTracks

std::list<CbmStsTrack> LxFinderTriplet::positiveTracks
private

Definition at line 104 of file riplet/Lx.h.

Referenced by SaveBackground().

◆ pPtCut

bool LxFinderTriplet::pPtCut
private

Definition at line 113 of file riplet/Lx.h.

Referenced by LxEff::CalcRecoEff(), and SetParticleType().

◆ signalChi2Histo

TH1F * LxFinderTriplet::signalChi2Histo = 0
staticprivate

Definition at line 89 of file riplet/Lx.h.

Referenced by FinishTask(), and Init().

◆ signalInterTracksDistance

TH1F * LxFinderTriplet::signalInterTracksDistance = 0
staticprivate

Definition at line 93 of file riplet/Lx.h.

Referenced by FinishTask(), and Init().

◆ signalSignDefect

TH1F * LxFinderTriplet::signalSignDefect = 0
staticprivate

Definition at line 95 of file riplet/Lx.h.

Referenced by FinishTask(), and Init().

◆ signalYAtZ0

TH1F * LxFinderTriplet::signalYAtZ0 = 0
staticprivate

Definition at line 97 of file riplet/Lx.h.

Referenced by FinishTask(), and Init().

◆ signalYAtZ0_2

TH1F * LxFinderTriplet::signalYAtZ0_2 = 0
staticprivate

Definition at line 99 of file riplet/Lx.h.

Referenced by FinishTask(), and Init().

◆ superEventData

CbmStsTrack * LxFinderTriplet::superEventData = 0
staticprivate

Definition at line 87 of file riplet/Lx.h.

Referenced by FinishTask(), and Init().

◆ superEventTracks

TTree * LxFinderTriplet::superEventTracks = 0
staticprivate

Definition at line 88 of file riplet/Lx.h.

Referenced by Init(), and SaveBackground().

◆ unknownChi2Histo

TH1F * LxFinderTriplet::unknownChi2Histo = 0
staticprivate

Definition at line 91 of file riplet/Lx.h.

Referenced by FinishTask(), and Init().

◆ useMCPInsteadOfHits

bool LxFinderTriplet::useMCPInsteadOfHits
private

Definition at line 110 of file riplet/Lx.h.

Referenced by Exec(), and SetUseMCPInsteadOfHits().

◆ zCoordsByStations

Double_t LxFinderTriplet::zCoordsByStations[LXSTATIONS][LXLAYERS]
private

Definition at line 122 of file riplet/Lx.h.

Referenced by Exec(), and Init().


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