CbmRoot
riplet/LxTrackAna.cxx File Reference
#include "LxTrackAna.h"
#include "CbmKFParticle.h"
#include "CbmKFTrack.h"
#include "CbmMCTrack.h"
#include "CbmMuchCluster.h"
#include "CbmMuchDigiMatch.h"
#include "CbmMuchGeoScheme.h"
#include "CbmMuchPoint.h"
#include "CbmStsAddress.h"
#include "CbmStsPoint.h"
#include "CbmStsTrack.h"
#include "TDatabasePDG.h"
#include "TH1.h"
#include "TH2.h"
#include <dirent.h>
#include <iostream>
#include <sys/stat.h>
#include <sys/types.h>
Include dependency graph for riplet/LxTrackAna.cxx:

Go to the source code of this file.

Classes

struct  MomVsTxRange
 

Functions

 ClassImp (LxTrackAnaTriplet) using namespace std
 
static bool momFitTxBreak (Double_t mom, Double_t txBreak)
 
static void SaveHisto (TH1 *histo, const char *particleType, const char *name)
 
static void BuildInvMass (list< LxSimpleTrack * > &pTracks, list< LxSimpleTrack * > &nTracks, TH1 *histo)
 
static void BuildInvMass2 (list< CbmStsTrack * > &stsTracks, TH1 *)
 
static void AveragePoints (list< LxSimplePoint > &points)
 
static void AveragePoints (LxSimpleTrack *track, bool useHitsInStat)
 
static void BuildStatistics (LxSimpleTrack *track)
 
static void BuildNearestHitStat (LxSimpleTrack *track, bool cropHits)
 

Variables

static Double_t xRms = 1.202
 
static Double_t xRms2 = xRms * xRms
 
static Double_t yRms = 1.061
 
static Double_t yRms2 = yRms * yRms
 
static Double_t txRms = 0.02426
 
static Double_t txRms2 = txRms * txRms
 
static Double_t tyRms = 0.01082
 
static Double_t tyRms2 = tyRms * tyRms
 
static Double_t cutCoeff = 3.0
 
static TH1F * muchStsBreakX = 0
 
static TH1F * muchStsBreakY = 0
 
static TH1F * muchStsBreakTx = 0
 
static TH1F * muchStsBreakTy = 0
 
static TH1F * stsMuchBreakX = 0
 
static TH1F * stsMuchBreakY = 0
 
static TH1F * signalChi2 = 0
 
static TH1F * bgrChi2 = 0
 
static TH1F * bgrInvMass = 0
 
static list< LxSimpleTrack * > positiveTracks
 
static list< LxSimpleTrack * > negativeTracks
 
static TH1F * sigInvMass = 0
 
static TH1F * nearestHitDist [LXSTATIONS] = {0}
 
static TH1F * hitsDist [LXSTATIONS] = {0}
 
static TH1F * muPlusStsTxDiff = 0
 
static TH1F * muMinusStsTxDiff = 0
 
static TH1F * muPlusStsXDiff = 0
 
static TH1F * muMinusStsXDiff = 0
 
static TH1F * muPlusVertexTxDiff = 0
 
static TH1F * muMinusVertexTxDiff = 0
 
static TH2F * muPlusStsBeginTxDiff2D = 0
 
static TH2F * muMinusStsBeginTxDiff2D = 0
 
static TH1F * deltaPhiPi = 0
 
static TH1F * jPsiMuonsMomsHisto = 0
 
static UInt_t maxTracks = 0
 
static UInt_t maxMuchPts1 = 0
 
static UInt_t maxMuchPts0 = 0
 
static UInt_t maxStsPts7 = 0
 
static UInt_t maxStsPts6 = 0
 

Function Documentation

◆ AveragePoints() [1/2]

static void AveragePoints ( list< LxSimplePoint > &  points)
inlinestatic

◆ AveragePoints() [2/2]

static void AveragePoints ( LxSimpleTrack track,
bool  useHitsInStat 
)
inlinestatic

◆ BuildInvMass()

static void BuildInvMass ( list< LxSimpleTrack * > &  pTracks,
list< LxSimpleTrack * > &  nTracks,
TH1 *  histo 
)
static

◆ BuildInvMass2()

static void BuildInvMass2 ( list< CbmStsTrack * > &  stsTracks,
TH1 *   
)
static

◆ BuildNearestHitStat()

◆ BuildStatistics()

◆ ClassImp()

ClassImp ( LxTrackAnaTriplet  )

◆ momFitTxBreak()

static bool momFitTxBreak ( Double_t  mom,
Double_t  txBreak 
)
static

Definition at line 78 of file riplet/LxTrackAna.cxx.

Referenced by LxTrackAnaTriplet::Connect().

◆ SaveHisto()

static void SaveHisto ( TH1 *  histo,
const char *  particleType,
const char *  name 
)
static

Definition at line 294 of file riplet/LxTrackAna.cxx.

References particleType(), and saveHistos.

Referenced by LxTrackAnaTriplet::FinishTask().

Variable Documentation

◆ bgrChi2

TH1F* bgrChi2 = 0
static

◆ bgrInvMass

TH1F* bgrInvMass = 0
static

Definition at line 49 of file riplet/LxTrackAna.cxx.

Referenced by LxTrackAnaTriplet::FinishTask(), and LxTrackAnaTriplet::Init().

◆ cutCoeff

Double_t cutCoeff = 3.0
static

Definition at line 36 of file riplet/LxTrackAna.cxx.

Referenced by LxTrackAnaTriplet::Connect().

◆ deltaPhiPi

TH1F* deltaPhiPi = 0
static

◆ hitsDist

TH1F* hitsDist[LXSTATIONS] = {0}
static

◆ jPsiMuonsMomsHisto

TH1F* jPsiMuonsMomsHisto = 0
static

◆ maxMuchPts0

UInt_t maxMuchPts0 = 0
static

Definition at line 672 of file riplet/LxTrackAna.cxx.

Referenced by LxTrackAnaTriplet::BuildStatistics(), and BuildStatistics().

◆ maxMuchPts1

UInt_t maxMuchPts1 = 0
static

Definition at line 671 of file riplet/LxTrackAna.cxx.

Referenced by LxTrackAnaTriplet::BuildStatistics(), and BuildStatistics().

◆ maxStsPts6

UInt_t maxStsPts6 = 0
static

Definition at line 674 of file riplet/LxTrackAna.cxx.

Referenced by LxTrackAnaTriplet::BuildStatistics(), and BuildStatistics().

◆ maxStsPts7

UInt_t maxStsPts7 = 0
static

Definition at line 673 of file riplet/LxTrackAna.cxx.

Referenced by LxTrackAnaTriplet::BuildStatistics(), and BuildStatistics().

◆ maxTracks

UInt_t maxTracks = 0
static

Definition at line 670 of file riplet/LxTrackAna.cxx.

Referenced by LxTrackAnaTriplet::BuildStatistics().

◆ muchStsBreakTx

TH1F* muchStsBreakTx = 0
static

◆ muchStsBreakTy

TH1F* muchStsBreakTy = 0
static

◆ muchStsBreakX

TH1F* muchStsBreakX = 0
static

◆ muchStsBreakY

TH1F* muchStsBreakY = 0
static

◆ muMinusStsBeginTxDiff2D

TH2F* muMinusStsBeginTxDiff2D = 0
static

◆ muMinusStsTxDiff

TH1F* muMinusStsTxDiff = 0
static

◆ muMinusStsXDiff

TH1F* muMinusStsXDiff = 0
static

◆ muMinusVertexTxDiff

TH1F* muMinusVertexTxDiff = 0
static

◆ muPlusStsBeginTxDiff2D

TH2F* muPlusStsBeginTxDiff2D = 0
static

◆ muPlusStsTxDiff

TH1F* muPlusStsTxDiff = 0
static

◆ muPlusStsXDiff

TH1F* muPlusStsXDiff = 0
static

◆ muPlusVertexTxDiff

TH1F* muPlusVertexTxDiff = 0
static

◆ nearestHitDist

TH1F* nearestHitDist[LXSTATIONS] = {0}
static

◆ negativeTracks

list<LxSimpleTrack*> negativeTracks
static

Definition at line 51 of file riplet/LxTrackAna.cxx.

◆ positiveTracks

list<LxSimpleTrack*> positiveTracks
static

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

◆ sigInvMass

TH1F* sigInvMass = 0
static

◆ signalChi2

TH1F* signalChi2 = 0
static

◆ stsMuchBreakX

TH1F* stsMuchBreakX = 0
static

◆ stsMuchBreakY

TH1F* stsMuchBreakY = 0
static

◆ txRms

Double_t txRms = 0.02426
static

Definition at line 31 of file riplet/LxTrackAna.cxx.

Referenced by LxTrackAnaTriplet::Connect().

◆ txRms2

Double_t txRms2 = txRms * txRms
static

Definition at line 32 of file riplet/LxTrackAna.cxx.

Referenced by BuildStatistics(), and LxTrackAnaTriplet::Connect().

◆ tyRms

Double_t tyRms = 0.01082
static

Definition at line 34 of file riplet/LxTrackAna.cxx.

Referenced by LxTrackAnaTriplet::Connect().

◆ tyRms2

Double_t tyRms2 = tyRms * tyRms
static

Definition at line 35 of file riplet/LxTrackAna.cxx.

Referenced by BuildStatistics(), and LxTrackAnaTriplet::Connect().

◆ xRms

Double_t xRms = 1.202
static

Definition at line 25 of file riplet/LxTrackAna.cxx.

Referenced by LxTrackAnaTriplet::Connect().

◆ xRms2

Double_t xRms2 = xRms * xRms
static

Definition at line 26 of file riplet/LxTrackAna.cxx.

Referenced by BuildStatistics(), and LxTrackAnaTriplet::Connect().

◆ yRms

Double_t yRms = 1.061
static

Definition at line 28 of file riplet/LxTrackAna.cxx.

Referenced by LxTrackAnaTriplet::Connect().

◆ yRms2

Double_t yRms2 = yRms * yRms
static

Definition at line 29 of file riplet/LxTrackAna.cxx.

Referenced by BuildStatistics(), and LxTrackAnaTriplet::Connect().