CbmRoot
riplet/LxTrackAnaSegments.cxx File Reference
#include "LxTrackAnaSegments.h"
#include "LxTrackAna.h"
#include "TH1.h"
#include "TH2.h"
#include <cmath>
#include <dirent.h>
#include <iostream>
#include <sys/stat.h>
#include <sys/types.h>
Include dependency graph for riplet/LxTrackAnaSegments.cxx:

Go to the source code of this file.

Classes

struct  LxSimpleSegment
 

Functions

static bool GetHistoRMS (const char *histoNameBase, Int_t histoNumber, Double_t &retVal)
 
static TString particleType ("jpsi")
 
static void SaveHisto (TH1 *histo)
 
static bool GetPoints (LxSimpleTrack *track, LxSimplePoint points[LXSTATIONS][LXLAYERS], Int_t i, Int_t j)
 
static bool GetPoints2 (LxSimpleTrack *track, list< LxSimplePoint > points[LXSTATIONS][LXLAYERS], Int_t i, Int_t j)
 

Variables

bool saveHistos = true
 
static TH1F * muchInStationXDispLeft [LXSTATIONS]
 
static TH1F * muchInStationXDispRight [LXSTATIONS]
 
static TH1F * muchInStationYDispLeft [LXSTATIONS]
 
static TH1F * muchInStationYDispRight [LXSTATIONS]
 
static TH1F * muchInStationXDispRL [LXSTATIONS]
 
static TH1F * muchInStationYDispRL [LXSTATIONS]
 
static TH1F * muchInStationTxBreak [LXSTATIONS]
 
static TH1F * muchInStationTyBreak [LXSTATIONS]
 
static TH1F * muchOutStationTxBreakLeft [LXSTATIONS - 1]
 
static TH1F * muchOutStationTxBreakRight [LXSTATIONS - 1]
 
static TH1F * muchOutStationTyBreakLeft [LXSTATIONS - 1]
 
static TH1F * muchOutStationTyBreakRight [LXSTATIONS - 1]
 
static TH1F * muchTripletTxBreak [LXSTATIONS - 1]
 
static TH1F * muchTripletTyBreak [LXSTATIONS - 1]
 
static TH1F * muchOutStationXDispByTriplet [LXSTATIONS - 1]
 
static TH1F * muchOutStationYDispByTriplet [LXSTATIONS - 1]
 
static TH1F * muchOutStationXDispByVertex [LXSTATIONS - 1]
 
static TH1F * muchOutStationYDispByVertex [LXSTATIONS - 1]
 
static TH1F * muchLongSegmentTxHisto [LXSTATIONS - 1]
 
static TH1F * muchLongSegmentTyHisto [LXSTATIONS - 1]
 
static TH1F * muchSegmentTxBreakHisto [LXSTATIONS - 2]
 
static TH1F * muchSegmentTyBreakHisto [LXSTATIONS - 2]
 
static TH1F * muchStationTxDispHisto [LXSTATIONS - 1]
 
static TH1F * muchStationTyDispHisto [LXSTATIONS - 1]
 
static TH2F * muchXTxCovHisto [LXSTATIONS - 1]
 
static TH2F * muchYTyCovHisto [LXSTATIONS - 1]
 
static TH1F * muchClusterXDispHisto [LXSTATIONS - 1]
 
static TH1F * muchClusterYDispHisto [LXSTATIONS - 1]
 
static TH1F * muchClusterTxDispHisto [LXSTATIONS - 1]
 
static TH1F * muchClusterTyDispHisto [LXSTATIONS - 1]
 

Function Documentation

◆ GetHistoRMS()

static bool GetHistoRMS ( const char *  histoNameBase,
Int_t  histoNumber,
Double_t &  retVal 
)
static

Definition at line 58 of file riplet/LxTrackAnaSegments.cxx.

References f.

◆ GetPoints()

static bool GetPoints ( LxSimpleTrack track,
LxSimplePoint  points[LXSTATIONS][LXLAYERS],
Int_t  i,
Int_t  j 
)
static

◆ GetPoints2()

static bool GetPoints2 ( LxSimpleTrack track,
list< LxSimplePoint points[LXSTATIONS][LXLAYERS],
Int_t  i,
Int_t  j 
)
static

◆ particleType()

static TString particleType ( "jpsi"  )
static

Referenced by SaveHisto().

◆ SaveHisto()

static void SaveHisto ( TH1 *  histo)
static

Definition at line 329 of file riplet/LxTrackAnaSegments.cxx.

References particleType(), and saveHistos.

Variable Documentation

◆ muchClusterTxDispHisto

TH1F* muchClusterTxDispHisto[LXSTATIONS - 1]
static

Definition at line 54 of file riplet/LxTrackAnaSegments.cxx.

◆ muchClusterTyDispHisto

TH1F* muchClusterTyDispHisto[LXSTATIONS - 1]
static

Definition at line 55 of file riplet/LxTrackAnaSegments.cxx.

◆ muchClusterXDispHisto

TH1F* muchClusterXDispHisto[LXSTATIONS - 1]
static

Definition at line 52 of file riplet/LxTrackAnaSegments.cxx.

◆ muchClusterYDispHisto

TH1F* muchClusterYDispHisto[LXSTATIONS - 1]
static

Definition at line 53 of file riplet/LxTrackAnaSegments.cxx.

◆ muchInStationTxBreak

TH1F* muchInStationTxBreak[LXSTATIONS]
static

Definition at line 23 of file riplet/LxTrackAnaSegments.cxx.

◆ muchInStationTyBreak

TH1F* muchInStationTyBreak[LXSTATIONS]
static

Definition at line 24 of file riplet/LxTrackAnaSegments.cxx.

◆ muchInStationXDispLeft

TH1F* muchInStationXDispLeft[LXSTATIONS]
static

Definition at line 15 of file riplet/LxTrackAnaSegments.cxx.

◆ muchInStationXDispRight

TH1F* muchInStationXDispRight[LXSTATIONS]
static

Definition at line 16 of file riplet/LxTrackAnaSegments.cxx.

◆ muchInStationXDispRL

TH1F* muchInStationXDispRL[LXSTATIONS]
static

Definition at line 20 of file riplet/LxTrackAnaSegments.cxx.

◆ muchInStationYDispLeft

TH1F* muchInStationYDispLeft[LXSTATIONS]
static

Definition at line 17 of file riplet/LxTrackAnaSegments.cxx.

◆ muchInStationYDispRight

TH1F* muchInStationYDispRight[LXSTATIONS]
static

Definition at line 18 of file riplet/LxTrackAnaSegments.cxx.

◆ muchInStationYDispRL

TH1F* muchInStationYDispRL[LXSTATIONS]
static

Definition at line 21 of file riplet/LxTrackAnaSegments.cxx.

◆ muchLongSegmentTxHisto

TH1F* muchLongSegmentTxHisto[LXSTATIONS - 1]
static

Definition at line 40 of file riplet/LxTrackAnaSegments.cxx.

◆ muchLongSegmentTyHisto

TH1F* muchLongSegmentTyHisto[LXSTATIONS - 1]
static

Definition at line 41 of file riplet/LxTrackAnaSegments.cxx.

◆ muchOutStationTxBreakLeft

TH1F* muchOutStationTxBreakLeft[LXSTATIONS - 1]
static

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

◆ muchOutStationTxBreakRight

TH1F* muchOutStationTxBreakRight[LXSTATIONS - 1]
static

Definition at line 27 of file riplet/LxTrackAnaSegments.cxx.

◆ muchOutStationTyBreakLeft

TH1F* muchOutStationTyBreakLeft[LXSTATIONS - 1]
static

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

◆ muchOutStationTyBreakRight

TH1F* muchOutStationTyBreakRight[LXSTATIONS - 1]
static

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

◆ muchOutStationXDispByTriplet

TH1F* muchOutStationXDispByTriplet[LXSTATIONS - 1]
static

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

◆ muchOutStationXDispByVertex

TH1F* muchOutStationXDispByVertex[LXSTATIONS - 1]
static

Definition at line 37 of file riplet/LxTrackAnaSegments.cxx.

◆ muchOutStationYDispByTriplet

TH1F* muchOutStationYDispByTriplet[LXSTATIONS - 1]
static

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

◆ muchOutStationYDispByVertex

TH1F* muchOutStationYDispByVertex[LXSTATIONS - 1]
static

Definition at line 38 of file riplet/LxTrackAnaSegments.cxx.

◆ muchSegmentTxBreakHisto

TH1F* muchSegmentTxBreakHisto[LXSTATIONS - 2]
static

Definition at line 43 of file riplet/LxTrackAnaSegments.cxx.

◆ muchSegmentTyBreakHisto

TH1F* muchSegmentTyBreakHisto[LXSTATIONS - 2]
static

Definition at line 44 of file riplet/LxTrackAnaSegments.cxx.

◆ muchStationTxDispHisto

TH1F* muchStationTxDispHisto[LXSTATIONS - 1]
static

Definition at line 46 of file riplet/LxTrackAnaSegments.cxx.

◆ muchStationTyDispHisto

TH1F* muchStationTyDispHisto[LXSTATIONS - 1]
static

Definition at line 47 of file riplet/LxTrackAnaSegments.cxx.

◆ muchTripletTxBreak

TH1F* muchTripletTxBreak[LXSTATIONS - 1]
static

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

◆ muchTripletTyBreak

TH1F* muchTripletTyBreak[LXSTATIONS - 1]
static

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

◆ muchXTxCovHisto

TH2F* muchXTxCovHisto[LXSTATIONS - 1]
static

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

◆ muchYTyCovHisto

TH2F* muchYTyCovHisto[LXSTATIONS - 1]
static

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

◆ saveHistos

bool saveHistos = true

Definition at line 11 of file riplet/LxTrackAnaSegments.cxx.

Referenced by SaveHisto(), and LxTrackAnaSegments::SetUseBgr().