CbmRoot
CbmTofAnaTestbeam.cxx File Reference
#include "CbmTofAnaTestbeam.h"
#include "CbmEvent.h"
#include "CbmMatch.h"
#include "CbmTofAddress.h"
#include "CbmTofCell.h"
#include "CbmTofDetectorId_v12b.h"
#include "CbmTofDetectorId_v14a.h"
#include "CbmTofDigi.h"
#include "CbmTofDigiBdfPar.h"
#include "CbmTofDigiPar.h"
#include "CbmTofGeoHandler.h"
#include "CbmTofHit.h"
#include "CbmTofPoint.h"
#include "CbmTofTracklet.h"
#include "CbmTofTrackletTools.h"
#include "CbmTrackMatchNew.h"
#include "CbmVertex.h"
#include "CbmDigiManager.h"
#include "CbmTofTestBeamClusterizer.h"
#include "CbmTofTrackFinderNN.h"
#include "TTrbHeader.h"
#include "CbmMCDataArray.h"
#include "CbmMCDataManager.h"
#include "CbmMCDataObject.h"
#include "CbmMCEventList.h"
#include "CbmMCTrack.h"
#include "FairLogger.h"
#include "FairMCEventHeader.h"
#include "FairRootManager.h"
#include "FairRunAna.h"
#include "FairRuntimeDb.h"
#include "Riostream.h"
#include "TClonesArray.h"
#include "TDirectory.h"
#include "TEfficiency.h"
#include "TFile.h"
#include "TFitResult.h"
#include "TGeoManager.h"
#include "TGeoPhysicalNode.h"
#include "TH1.h"
#include "TH2.h"
#include "TH3.h"
#include "TMCProcess.h"
#include "TMath.h"
#include "TProfile.h"
#include "TROOT.h"
#include "TRandom.h"
#include "TString.h"
#include <boost/lexical_cast.hpp>
#include <boost/regex.hpp>

Go to the source code of this file.

Classes

struct  cmp_str
 

Functions

void GetPdgName (Int_t iPdgCode, const char *&cPdgName)
 
void GetMaterialName (const char *cMaterial, const char *&cMaterialName)
 
void GetProcessName (const char *cProcess, const char *&cProcessName)
 
 ClassImp (CbmTofAnaTestbeam)
 

Variables

const Int_t DetMask = 0x007FFFFF
 
const Double_t DTDMAX = 6.
 
Double_t dTDia
 
Double_t dDTD4Min = 1.E8
 
static Double_t StartAnalysisTime = 0.
 
static Double_t dTLEvt = 0.
 
static Double_t StartSpillTime = -100.
 
Int_t iNspills = 0
 
static Double_t fdMemoryTime = 1.E12
 
CbmDigiManagerfDigiMan = NULL
 
static std::vector< TH2D * > fhLHTime
 
static std::vector< std::vector< CbmTofHit * > > fvLHit
 
static std::map< UInt_t, UInt_t > fDetIdMap
 
std::map< Int_t, const char * > giPdgMap
 
std::map< const char *, const char *, cmp_strgcMaterialMap
 
std::map< const char *, const char *, cmp_strgcProcessMap
 

Function Documentation

◆ ClassImp()

ClassImp ( CbmTofAnaTestbeam  )

◆ GetMaterialName()

void GetMaterialName ( const char *  cMaterial,
const char *&  cMaterialName 
)

Definition at line 8382 of file CbmTofAnaTestbeam.cxx.

References gcMaterialMap.

Referenced by CbmTofAnaTestbeam::FillHistos().

◆ GetPdgName()

void GetPdgName ( Int_t  iPdgCode,
const char *&  cPdgName 
)

Definition at line 8372 of file CbmTofAnaTestbeam.cxx.

References giPdgMap.

Referenced by CbmTofAnaTestbeam::FillHistos().

◆ GetProcessName()

void GetProcessName ( const char *  cProcess,
const char *&  cProcessName 
)

Definition at line 8392 of file CbmTofAnaTestbeam.cxx.

References gcProcessMap.

Referenced by CbmTofAnaTestbeam::FillHistos().

Variable Documentation

◆ dDTD4Min

Double_t dDTD4Min = 1.E8

Definition at line 79 of file CbmTofAnaTestbeam.cxx.

Referenced by CbmTofAnaTestbeam::FillHistos().

◆ DetMask

◆ dTDia

Double_t dTDia

Definition at line 78 of file CbmTofAnaTestbeam.cxx.

Referenced by CbmTofAnaTestbeam::FillHistos().

◆ DTDMAX

const Double_t DTDMAX = 6.

◆ dTLEvt

Double_t dTLEvt = 0.
static

Definition at line 81 of file CbmTofAnaTestbeam.cxx.

Referenced by CbmTofAnaTestbeam::FillHistos().

◆ fDetIdMap

std::map<UInt_t, UInt_t> fDetIdMap
static

Definition at line 92 of file CbmTofAnaTestbeam.cxx.

Referenced by CbmTofAnaTestbeam::FillHistos().

◆ fDigiMan

CbmDigiManager* fDigiMan = NULL

◆ fdMemoryTime

Double_t fdMemoryTime = 1.E12
static

◆ fhLHTime

std::vector<TH2D*> fhLHTime
static

◆ fvLHit

std::vector<std::vector<CbmTofHit*> > fvLHit
static

◆ gcMaterialMap

std::map<const char*, const char*, cmp_str> gcMaterialMap
Initial value:
{
{"RPCgas", "gas"},
{"RPCgas_noact", "gas"},
{"RPCglass", "glass"},
{"air", "air"},
{"aluminium", "box"},
{"carbon", "pcb"},
{"targetMaterial", "target"},
{"silicon", "diamond"}}

Definition at line 142 of file CbmTofAnaTestbeam.cxx.

Referenced by GetMaterialName().

◆ gcProcessMap

std::map<const char*, const char*, cmp_str> gcProcessMap
Initial value:
{
{"Compton scattering", "Compton"},
{"Decay", "Decay"},
{"Delta ray", "Delta"},
{"Hadronic interaction", "Hadronic"},
{"Lepton pair production", "Pair"},
{"Photoelectric effect", "Photo"},
{"Positron annihilation", "Annil"},
{"Primary particle emission", "Primary"},
{"Bremstrahlung", "Brems"}}

Definition at line 152 of file CbmTofAnaTestbeam.cxx.

Referenced by GetProcessName().

◆ giPdgMap

std::map<Int_t, const char*> giPdgMap

Definition at line 100 of file CbmTofAnaTestbeam.cxx.

Referenced by GetPdgName().

◆ iNspills

Int_t iNspills = 0

◆ StartAnalysisTime

Double_t StartAnalysisTime = 0.
static

Definition at line 80 of file CbmTofAnaTestbeam.cxx.

Referenced by CbmTofAnaTestbeam::FillHistos().

◆ StartSpillTime

Double_t StartSpillTime = -100.
static

Definition at line 82 of file CbmTofAnaTestbeam.cxx.

Referenced by CbmTofAnaTestbeam::FillHistos().