CbmRoot
Simple/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 "TGeoManager.h"
#include "TH1.h"
#include "TH2.h"
#include <dirent.h>
#include <iostream>
#include <sys/stat.h>
#include <sys/types.h>
Include dependency graph for Simple/LxTrackAna.cxx:

Go to the source code of this file.

Classes

struct  MomVsTxRange
 

Functions

 ClassImp (LxTrackAna) using namespace std
 
static bool momFitTxBreak (scaltype mom, scaltype 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 scaltype xRms = 1.202
 
static scaltype xRms2 = xRms * xRms
 
static scaltype yRms = 1.061
 
static scaltype yRms2 = yRms * yRms
 
static scaltype txRms = 0.02426
 
static scaltype txRms2 = txRms * txRms
 
static scaltype tyRms = 0.01082
 
static scaltype tyRms2 = tyRms * tyRms
 
static scaltype 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 scaltype magnetCenterZ = 0
 
static TH1F * dtxMomProductHisto = 0
 
static TH1F * stsEndTrackCount = 0
 
static TH1F * muchBeginTrackCount = 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 ( LxTrackAna  )

◆ momFitTxBreak()

static bool momFitTxBreak ( scaltype  mom,
scaltype  txBreak 
)
static

Definition at line 86 of file Simple/LxTrackAna.cxx.

References scaltype.

Referenced by LxTrackAna::Connect().

◆ SaveHisto()

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

Definition at line 321 of file Simple/LxTrackAna.cxx.

References particleType().

Referenced by LxTrackAna::FinishTask().

Variable Documentation

◆ bgrChi2

TH1F* bgrChi2 = 0
static

Definition at line 48 of file Simple/LxTrackAna.cxx.

Referenced by BuildStatistics(), LxTrackAna::FinishTask(), and LxTrackAna::Init().

◆ bgrInvMass

TH1F* bgrInvMass = 0
static

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

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

◆ cutCoeff

scaltype cutCoeff = 3.0
static

Definition at line 37 of file Simple/LxTrackAna.cxx.

Referenced by LxTrackAna::Connect().

◆ deltaPhiPi

TH1F* deltaPhiPi = 0
static

Definition at line 68 of file Simple/LxTrackAna.cxx.

Referenced by BuildStatistics(), LxTrackAna::FinishTask(), and LxTrackAna::Init().

◆ dtxMomProductHisto

TH1F* dtxMomProductHisto = 0
static

Definition at line 74 of file Simple/LxTrackAna.cxx.

Referenced by BuildStatistics(), LxTrackAna::FinishTask(), and LxTrackAna::Init().

◆ hitsDist

TH1F* hitsDist[LXSTATIONS] = {0}
static

◆ jPsiMuonsMomsHisto

TH1F* jPsiMuonsMomsHisto = 0
static

Definition at line 70 of file Simple/LxTrackAna.cxx.

Referenced by BuildStatistics(), LxTrackAna::FinishTask(), and LxTrackAna::Init().

◆ magnetCenterZ

scaltype magnetCenterZ = 0
static

Definition at line 72 of file Simple/LxTrackAna.cxx.

Referenced by BuildStatistics(), and LxTrackAna::Init().

◆ maxMuchPts0

UInt_t maxMuchPts0 = 0
static

Definition at line 693 of file Simple/LxTrackAna.cxx.

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

◆ maxMuchPts1

UInt_t maxMuchPts1 = 0
static

Definition at line 692 of file Simple/LxTrackAna.cxx.

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

◆ maxStsPts6

UInt_t maxStsPts6 = 0
static

Definition at line 695 of file Simple/LxTrackAna.cxx.

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

◆ maxStsPts7

UInt_t maxStsPts7 = 0
static

Definition at line 694 of file Simple/LxTrackAna.cxx.

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

◆ maxTracks

UInt_t maxTracks = 0
static

Definition at line 691 of file Simple/LxTrackAna.cxx.

Referenced by LxTrackAna::BuildStatistics().

◆ muchBeginTrackCount

TH1F* muchBeginTrackCount = 0
static

◆ muchStsBreakTx

TH1F* muchStsBreakTx = 0
static

Definition at line 41 of file Simple/LxTrackAna.cxx.

Referenced by BuildStatistics(), LxTrackAna::FinishTask(), and LxTrackAna::Init().

◆ muchStsBreakTy

TH1F* muchStsBreakTy = 0
static

Definition at line 42 of file Simple/LxTrackAna.cxx.

Referenced by BuildStatistics(), LxTrackAna::FinishTask(), and LxTrackAna::Init().

◆ muchStsBreakX

TH1F* muchStsBreakX = 0
static

Definition at line 39 of file Simple/LxTrackAna.cxx.

Referenced by BuildStatistics(), LxTrackAna::FinishTask(), and LxTrackAna::Init().

◆ muchStsBreakY

TH1F* muchStsBreakY = 0
static

Definition at line 40 of file Simple/LxTrackAna.cxx.

Referenced by BuildStatistics(), LxTrackAna::FinishTask(), and LxTrackAna::Init().

◆ muMinusStsBeginTxDiff2D

TH2F* muMinusStsBeginTxDiff2D = 0
static

Definition at line 66 of file Simple/LxTrackAna.cxx.

Referenced by BuildStatistics(), LxTrackAna::FinishTask(), and LxTrackAna::Init().

◆ muMinusStsTxDiff

TH1F* muMinusStsTxDiff = 0
static

Definition at line 59 of file Simple/LxTrackAna.cxx.

Referenced by BuildStatistics(), LxTrackAna::FinishTask(), and LxTrackAna::Init().

◆ muMinusStsXDiff

TH1F* muMinusStsXDiff = 0
static

Definition at line 61 of file Simple/LxTrackAna.cxx.

Referenced by BuildStatistics(), LxTrackAna::FinishTask(), and LxTrackAna::Init().

◆ muMinusVertexTxDiff

TH1F* muMinusVertexTxDiff = 0
static

Definition at line 63 of file Simple/LxTrackAna.cxx.

Referenced by BuildStatistics(), LxTrackAna::FinishTask(), and LxTrackAna::Init().

◆ muPlusStsBeginTxDiff2D

TH2F* muPlusStsBeginTxDiff2D = 0
static

Definition at line 65 of file Simple/LxTrackAna.cxx.

Referenced by BuildStatistics(), LxTrackAna::FinishTask(), and LxTrackAna::Init().

◆ muPlusStsTxDiff

TH1F* muPlusStsTxDiff = 0
static

Definition at line 58 of file Simple/LxTrackAna.cxx.

Referenced by BuildStatistics(), LxTrackAna::FinishTask(), and LxTrackAna::Init().

◆ muPlusStsXDiff

TH1F* muPlusStsXDiff = 0
static

Definition at line 60 of file Simple/LxTrackAna.cxx.

Referenced by BuildStatistics(), LxTrackAna::FinishTask(), and LxTrackAna::Init().

◆ muPlusVertexTxDiff

TH1F* muPlusVertexTxDiff = 0
static

Definition at line 62 of file Simple/LxTrackAna.cxx.

Referenced by BuildStatistics(), LxTrackAna::FinishTask(), and LxTrackAna::Init().

◆ nearestHitDist

TH1F* nearestHitDist[LXSTATIONS] = {0}
static

◆ negativeTracks

list<LxSimpleTrack*> negativeTracks
static

Definition at line 52 of file Simple/LxTrackAna.cxx.

◆ positiveTracks

list<LxSimpleTrack*> positiveTracks
static

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

◆ sigInvMass

TH1F* sigInvMass = 0
static

◆ signalChi2

TH1F* signalChi2 = 0
static

Definition at line 47 of file Simple/LxTrackAna.cxx.

Referenced by BuildStatistics(), LxTrackAna::FinishTask(), and LxTrackAna::Init().

◆ stsEndTrackCount

TH1F* stsEndTrackCount = 0
static

◆ stsMuchBreakX

TH1F* stsMuchBreakX = 0
static

Definition at line 44 of file Simple/LxTrackAna.cxx.

Referenced by BuildStatistics(), LxTrackAna::FinishTask(), and LxTrackAna::Init().

◆ stsMuchBreakY

TH1F* stsMuchBreakY = 0
static

Definition at line 45 of file Simple/LxTrackAna.cxx.

Referenced by BuildStatistics(), LxTrackAna::FinishTask(), and LxTrackAna::Init().

◆ txRms

scaltype txRms = 0.02426
static

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

Referenced by LxTrackAna::Connect().

◆ txRms2

scaltype txRms2 = txRms * txRms
static

Definition at line 33 of file Simple/LxTrackAna.cxx.

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

◆ tyRms

scaltype tyRms = 0.01082
static

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

Referenced by LxTrackAna::Connect().

◆ tyRms2

scaltype tyRms2 = tyRms * tyRms
static

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

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

◆ xRms

scaltype xRms = 1.202
static

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

Referenced by LxTrackAna::Connect().

◆ xRms2

scaltype xRms2 = xRms * xRms
static

Definition at line 27 of file Simple/LxTrackAna.cxx.

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

◆ yRms

scaltype yRms = 1.061
static

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

Referenced by LxTrackAna::Connect().

◆ yRms2

scaltype yRms2 = yRms * yRms
static

Definition at line 30 of file Simple/LxTrackAna.cxx.

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