CbmRoot
CbmInverseSlope Class Reference

#include <CbmInverseSlope.h>

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

Public Member Functions

 CbmInverseSlope (Int_t recoLevel=-1, Int_t iVerbose=1, TString Mode="MC", Int_t PDG=-211, TString pname="pi-", Int_t EventStats=1, KFParticleTopoReconstructor *tr=0, Float_t ekin_=25.)
 
 ~CbmInverseSlope ()
 
virtual void ReInit (FairRootManager *fManger)
 
virtual void Init ()
 
virtual void Exec ()
 
virtual void Finish ()
 
void AddRapidityInterval (double ymin, double ymax)
 
void AddHistos ()
 
 ClassDef (CbmInverseSlope, 1)
 
 ClassDef (CbmModelBase, 1)
 

Public Attributes

TString name
 

Protected Attributes

KFParticleTopoReconstructor * fTopoReconstructor
 

Private Member Functions

void CalculateAveragesInEvent (int RecoLevel, bool UpdateGlobal=0)
 
 CbmInverseSlope (const CbmInverseSlope &)
 
CbmInverseSlopeoperator= (const CbmInverseSlope &)
 

Private Attributes

Float_t ekin
 
Float_t p0cm
 
Float_t ycm
 
Bool_t fUpdate
 
Int_t fusePID
 
Int_t fRecoLevel
 
Int_t fTrackNumber
 
Int_t fEventStats
 
Int_t events
 
TString fModeName
 
TString outfileName
 
TDirectory * histodir
 
TClonesArray * flistMCTracks
 
int IndexT
 
int IndexMt
 
int IndexModelMt
 
int IndexMt2
 
int IndexModelMt2
 
int IndexModelMt4Pi
 
TH1F * histo1D [nHisto1D]
 
TH1F * histodndy
 
TH1F * histodndymodel
 
TH1F *** histo1DIntervals
 
TGraphErrors * grTy
 
TGraphErrors * grdndyReco
 
TH1F * pullT
 
std::vector< double > Ts
 
double kProtonMass
 
int fPDGID
 
double fMass
 
std::vector< double > fYminv
 
std::vector< double > fYmaxv
 
double paramGlobal
 
std::vector< double > paramGlobalInterval
 
std::vector< double > param2GlobalInterval
 
double paramLocal
 
std::vector< double > paramLocalInterval
 
int totalLocal
 
int totalGlobal
 
std::vector< int > totalGlobalInterval
 
std::vector< int > totalLocalInterval
 
int totalEvents
 
InverseSlopemodel
 
InverseSlopemodelmc
 
std::vector< InverseSlope * > modelsY
 

Static Private Attributes

static const int nHisto1D = 6
 

Detailed Description

Definition at line 38 of file CbmInverseSlope.h.

Constructor & Destructor Documentation

◆ CbmInverseSlope() [1/2]

CbmInverseSlope::CbmInverseSlope ( Int_t  recoLevel = -1,
Int_t  iVerbose = 1,
TString  Mode = "MC",
Int_t  PDG = -211,
TString  pname = "pi-",
Int_t  EventStats = 1,
KFParticleTopoReconstructor *  tr = 0,
Float_t  ekin_ = 25. 
)

◆ ~CbmInverseSlope()

CbmInverseSlope::~CbmInverseSlope ( )

Definition at line 341 of file CbmInverseSlope.cxx.

References fYminv, model, and modelsY.

◆ CbmInverseSlope() [2/2]

CbmInverseSlope::CbmInverseSlope ( const CbmInverseSlope )
private

Member Function Documentation

◆ AddHistos()

void CbmInverseSlope::AddHistos ( )

Definition at line 364 of file CbmInverseSlope.cxx.

References fEventStats, fModeName, fYmaxv, fYminv, grTy, histo1DIntervals, histodir, name, and nHisto1D.

◆ AddRapidityInterval()

void CbmInverseSlope::AddRapidityInterval ( double  ymin,
double  ymax 
)

◆ CalculateAveragesInEvent()

void CbmInverseSlope::CalculateAveragesInEvent ( int  RecoLevel,
bool  UpdateGlobal = 0 
)
private

◆ ClassDef() [1/2]

CbmInverseSlope::ClassDef ( CbmInverseSlope  ,
 
)

◆ ClassDef() [2/2]

CbmModelBase::ClassDef ( CbmModelBase  ,
 
)
inherited

◆ Exec()

◆ Finish()

◆ Init()

void CbmInverseSlope::Init ( )
virtual

Reimplemented from CbmModelBase.

Definition at line 470 of file CbmInverseSlope.cxx.

◆ operator=()

CbmInverseSlope& CbmInverseSlope::operator= ( const CbmInverseSlope )
private

◆ ReInit()

void CbmInverseSlope::ReInit ( FairRootManager *  fManger)
virtual

Reimplemented from CbmModelBase.

Definition at line 466 of file CbmInverseSlope.cxx.

References flistMCTracks.

Member Data Documentation

◆ ekin

Float_t CbmInverseSlope::ekin
private

Definition at line 70 of file CbmInverseSlope.h.

◆ events

Int_t CbmInverseSlope::events
private

Definition at line 78 of file CbmInverseSlope.h.

Referenced by Exec().

◆ fEventStats

Int_t CbmInverseSlope::fEventStats
private

Definition at line 77 of file CbmInverseSlope.h.

Referenced by AddHistos(), and Exec().

◆ flistMCTracks

TClonesArray* CbmInverseSlope::flistMCTracks
private

Definition at line 86 of file CbmInverseSlope.h.

Referenced by CalculateAveragesInEvent(), Exec(), and ReInit().

◆ fMass

double CbmInverseSlope::fMass
private

Definition at line 106 of file CbmInverseSlope.h.

Referenced by AddRapidityInterval(), CalculateAveragesInEvent(), and Finish().

◆ fModeName

TString CbmInverseSlope::fModeName
private

Definition at line 81 of file CbmInverseSlope.h.

Referenced by AddHistos().

◆ fPDGID

int CbmInverseSlope::fPDGID
private

Definition at line 105 of file CbmInverseSlope.h.

Referenced by AddRapidityInterval(), and CalculateAveragesInEvent().

◆ fRecoLevel

Int_t CbmInverseSlope::fRecoLevel
private

Definition at line 75 of file CbmInverseSlope.h.

Referenced by AddRapidityInterval(), and Exec().

◆ fTopoReconstructor

◆ fTrackNumber

Int_t CbmInverseSlope::fTrackNumber
private

Definition at line 76 of file CbmInverseSlope.h.

◆ fUpdate

Bool_t CbmInverseSlope::fUpdate
private

Definition at line 73 of file CbmInverseSlope.h.

◆ fusePID

Int_t CbmInverseSlope::fusePID
private

Definition at line 74 of file CbmInverseSlope.h.

◆ fYmaxv

std::vector<double> CbmInverseSlope::fYmaxv
private

◆ fYminv

std::vector<double> CbmInverseSlope::fYminv
private

◆ grdndyReco

TGraphErrors* CbmInverseSlope::grdndyReco
private

Definition at line 98 of file CbmInverseSlope.h.

Referenced by Finish().

◆ grTy

TGraphErrors* CbmInverseSlope::grTy
private

Definition at line 97 of file CbmInverseSlope.h.

Referenced by AddHistos(), and Finish().

◆ histo1D

TH1F* CbmInverseSlope::histo1D[nHisto1D]
private

Definition at line 93 of file CbmInverseSlope.h.

Referenced by CalculateAveragesInEvent(), Exec(), and Finish().

◆ histo1DIntervals

TH1F*** CbmInverseSlope::histo1DIntervals
private

Definition at line 95 of file CbmInverseSlope.h.

Referenced by AddHistos(), CalculateAveragesInEvent(), Exec(), and Finish().

◆ histodir

TDirectory* CbmInverseSlope::histodir
private

Definition at line 84 of file CbmInverseSlope.h.

Referenced by AddHistos().

◆ histodndy

TH1F* CbmInverseSlope::histodndy
private

Definition at line 94 of file CbmInverseSlope.h.

Referenced by CalculateAveragesInEvent(), and Finish().

◆ histodndymodel

TH1F * CbmInverseSlope::histodndymodel
private

Definition at line 94 of file CbmInverseSlope.h.

Referenced by Finish().

◆ IndexModelMt

int CbmInverseSlope::IndexModelMt
private

Definition at line 91 of file CbmInverseSlope.h.

Referenced by Finish().

◆ IndexModelMt2

int CbmInverseSlope::IndexModelMt2
private

Definition at line 91 of file CbmInverseSlope.h.

Referenced by Finish().

◆ IndexModelMt4Pi

int CbmInverseSlope::IndexModelMt4Pi
private

Definition at line 91 of file CbmInverseSlope.h.

Referenced by Finish().

◆ IndexMt

int CbmInverseSlope::IndexMt
private

Definition at line 91 of file CbmInverseSlope.h.

Referenced by CalculateAveragesInEvent(), and Finish().

◆ IndexMt2

int CbmInverseSlope::IndexMt2
private

Definition at line 91 of file CbmInverseSlope.h.

Referenced by CalculateAveragesInEvent(), and Finish().

◆ IndexT

int CbmInverseSlope::IndexT
private

Definition at line 91 of file CbmInverseSlope.h.

Referenced by Exec().

◆ kProtonMass

double CbmInverseSlope::kProtonMass
private

Definition at line 103 of file CbmInverseSlope.h.

◆ model

InverseSlope* CbmInverseSlope::model
private

Definition at line 120 of file CbmInverseSlope.h.

Referenced by Exec(), Finish(), and ~CbmInverseSlope().

◆ modelmc

InverseSlope * CbmInverseSlope::modelmc
private

Definition at line 120 of file CbmInverseSlope.h.

Referenced by Finish().

◆ modelsY

std::vector<InverseSlope*> CbmInverseSlope::modelsY
private

Definition at line 121 of file CbmInverseSlope.h.

Referenced by AddRapidityInterval(), Exec(), Finish(), and ~CbmInverseSlope().

◆ name

TString CbmInverseSlope::name

Definition at line 41 of file CbmInverseSlope.h.

Referenced by AddHistos(), and Finish().

◆ nHisto1D

const int CbmInverseSlope::nHisto1D = 6
staticprivate

Definition at line 90 of file CbmInverseSlope.h.

Referenced by AddHistos().

◆ outfileName

TString CbmInverseSlope::outfileName
private

Definition at line 82 of file CbmInverseSlope.h.

◆ p0cm

Float_t CbmInverseSlope::p0cm
private

Definition at line 71 of file CbmInverseSlope.h.

◆ param2GlobalInterval

std::vector<double> CbmInverseSlope::param2GlobalInterval
private

Definition at line 109 of file CbmInverseSlope.h.

Referenced by AddRapidityInterval(), CalculateAveragesInEvent(), and Finish().

◆ paramGlobal

double CbmInverseSlope::paramGlobal
private

Definition at line 108 of file CbmInverseSlope.h.

Referenced by CalculateAveragesInEvent(), and Finish().

◆ paramGlobalInterval

std::vector<double> CbmInverseSlope::paramGlobalInterval
private

Definition at line 109 of file CbmInverseSlope.h.

Referenced by AddRapidityInterval(), CalculateAveragesInEvent(), and Finish().

◆ paramLocal

double CbmInverseSlope::paramLocal
private

Definition at line 110 of file CbmInverseSlope.h.

Referenced by CalculateAveragesInEvent(), and Exec().

◆ paramLocalInterval

std::vector<double> CbmInverseSlope::paramLocalInterval
private

Definition at line 111 of file CbmInverseSlope.h.

Referenced by AddRapidityInterval(), CalculateAveragesInEvent(), and Exec().

◆ pullT

TH1F* CbmInverseSlope::pullT
private

Definition at line 100 of file CbmInverseSlope.h.

◆ totalEvents

int CbmInverseSlope::totalEvents
private

Definition at line 114 of file CbmInverseSlope.h.

Referenced by Exec(), and Finish().

◆ totalGlobal

int CbmInverseSlope::totalGlobal
private

Definition at line 112 of file CbmInverseSlope.h.

Referenced by CalculateAveragesInEvent(), and Finish().

◆ totalGlobalInterval

std::vector<int> CbmInverseSlope::totalGlobalInterval
private

Definition at line 113 of file CbmInverseSlope.h.

Referenced by AddRapidityInterval(), CalculateAveragesInEvent(), and Finish().

◆ totalLocal

int CbmInverseSlope::totalLocal
private

Definition at line 112 of file CbmInverseSlope.h.

Referenced by CalculateAveragesInEvent(), and Exec().

◆ totalLocalInterval

std::vector<int> CbmInverseSlope::totalLocalInterval
private

Definition at line 113 of file CbmInverseSlope.h.

Referenced by AddRapidityInterval(), CalculateAveragesInEvent(), and Exec().

◆ Ts

std::vector<double> CbmInverseSlope::Ts
private

Definition at line 101 of file CbmInverseSlope.h.

◆ ycm

Float_t CbmInverseSlope::ycm
private

Definition at line 72 of file CbmInverseSlope.h.

Referenced by AddRapidityInterval(), and CalculateAveragesInEvent().


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