AliPhysics  b752f14 (b752f14)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AliNormalizationCounter Class Reference

#include <AliNormalizationCounter.h>

Inheritance diagram for AliNormalizationCounter:

Public Member Functions

 AliNormalizationCounter ()
 
 AliNormalizationCounter (const char *name)
 
virtual ~AliNormalizationCounter ()
 
Long64_t Merge (TCollection *list)
 
AliCounterCollection * GetCounter ()
 
void Init ()
 
void Add (const AliNormalizationCounter *)
 
void SetESD (Bool_t flag)
 
void SetStudyMultiplicity (Bool_t flag, Float_t etaRange)
 
void SetStudySpherocity (Bool_t flag, Double_t nsteps=100.)
 
void StoreEvent (AliVEvent *, AliRDHFCuts *, Bool_t mc=kFALSE, Int_t multiplicity=-9999, Double_t spherocity=-99.)
 
void StoreCandidates (AliVEvent *, Int_t nCand=0, Bool_t flagFilter=kTRUE)
 
TH1DDrawAgainstRuns (TString candle="candid(filter)", Bool_t drawHist=kTRUE)
 
TH1DDrawRatio (TString candle1="candid(filter)", TString candle2="triggered")
 
void PrintRubrics ()
 
Double_t GetSum (TString candle="triggered")
 
Double_t GetSum (TString candle, Int_t minmultiplicity, Int_t maxmultiplicity)
 
TH2FGetHist (Bool_t filtercuts=kTRUE, Bool_t spdtracklets=kTRUE, Bool_t drawHist=kFALSE)
 
Double_t GetNEventsForNorm ()
 
Double_t GetNEventsForNorm (Int_t runnumber)
 
Bool_t GetStudyMultiplicity ()
 
Float_t GetStudyMultplicityEtaRange ()
 
Double_t GetNEventsForNorm (Int_t minmultiplicity, Int_t maxmultiplicity)
 
Double_t GetNEventsForNormSpheroOnly (Double_t minspherocity, Double_t maxspherocity)
 
Double_t GetNEventsForNorm (Int_t minmultiplicity, Int_t maxmultiplicity, Double_t minspherocity, Double_t maxspherocity)
 
TH1DDrawNEventsForNorm (Bool_t drawRatio=kFALSE)
 

Private Member Functions

 AliNormalizationCounter (const AliNormalizationCounter &source)
 
AliNormalizationCounteroperator= (const AliNormalizationCounter &source)
 
Int_t Multiplicity (AliVEvent *event)
 
void FillCounters (TString name, Int_t runNumber, Int_t multiplicity, Double_t spherocity)
 

Private Attributes

AliCounterCollection fCounters
 
Bool_t fESD
 internal counter More...
 
Bool_t fMultiplicity
 flag for ESD vs AOD More...
 
Float_t fMultiplicityEtaRange
 flag for multiplicity More...
 
Bool_t fSpherocity
 
Double_t fSpherocitySteps
 
TH2FfHistTrackFilterEvMult
 
TH2FfHistTrackAnaEvMult
 hist to store no of filter candidates vs no of tracks in the event More...
 
TH2FfHistTrackFilterSpdMult
 hist to store no of analysis candidates vs no of tracks in the event More...
 
TH2FfHistTrackAnaSpdMult
 hist to store no of filter candidates vs SPD multiplicity More...
 

Detailed Description

Definition at line 48 of file AliNormalizationCounter.h.

Constructor & Destructor Documentation

AliNormalizationCounter::AliNormalizationCounter ( )

Definition at line 49 of file AliNormalizationCounter.cxx.

AliNormalizationCounter::AliNormalizationCounter ( const char *  name)

Definition at line 66 of file AliNormalizationCounter.cxx.

AliNormalizationCounter::~AliNormalizationCounter ( )
virtual

Definition at line 83 of file AliNormalizationCounter.cxx.

AliNormalizationCounter::AliNormalizationCounter ( const AliNormalizationCounter source)
private

Member Function Documentation

void AliNormalizationCounter::Add ( const AliNormalizationCounter norm)

Definition at line 150 of file AliNormalizationCounter.cxx.

Referenced by Merge().

TH1D * AliNormalizationCounter::DrawAgainstRuns ( TString  candle = "candid(filter)",
Bool_t  drawHist = kTRUE 
)

Definition at line 309 of file AliNormalizationCounter.cxx.

Referenced by DrawRatio().

TH1D * AliNormalizationCounter::DrawNEventsForNorm ( Bool_t  drawRatio = kFALSE)

Definition at line 522 of file AliNormalizationCounter.cxx.

TH1D * AliNormalizationCounter::DrawRatio ( TString  candle1 = "candid(filter)",
TString  candle2 = "triggered" 
)

Definition at line 321 of file AliNormalizationCounter.cxx.

void AliNormalizationCounter::FillCounters ( TString  name,
Int_t  runNumber,
Int_t  multiplicity,
Double_t  spherocity 
)
private

Definition at line 578 of file AliNormalizationCounter.cxx.

Referenced by StoreEvent().

AliCounterCollection* AliNormalizationCounter::GetCounter ( )
inline

Definition at line 57 of file AliNormalizationCounter.h.

TH2F * AliNormalizationCounter::GetHist ( Bool_t  filtercuts = kTRUE,
Bool_t  spdtracklets = kTRUE,
Bool_t  drawHist = kFALSE 
)

Definition at line 349 of file AliNormalizationCounter.cxx.

Double_t AliNormalizationCounter::GetNEventsForNorm ( )
Double_t AliNormalizationCounter::GetNEventsForNorm ( Int_t  runnumber)

Definition at line 374 of file AliNormalizationCounter.cxx.

Double_t AliNormalizationCounter::GetNEventsForNorm ( Int_t  minmultiplicity,
Int_t  maxmultiplicity 
)

Definition at line 391 of file AliNormalizationCounter.cxx.

Double_t AliNormalizationCounter::GetNEventsForNorm ( Int_t  minmultiplicity,
Int_t  maxmultiplicity,
Double_t  minspherocity,
Double_t  maxspherocity 
)

Definition at line 422 of file AliNormalizationCounter.cxx.

Double_t AliNormalizationCounter::GetNEventsForNormSpheroOnly ( Double_t  minspherocity,
Double_t  maxspherocity 
)

Definition at line 463 of file AliNormalizationCounter.cxx.

Bool_t AliNormalizationCounter::GetStudyMultiplicity ( )
inline

Definition at line 75 of file AliNormalizationCounter.h.

Float_t AliNormalizationCounter::GetStudyMultplicityEtaRange ( )
inline

Definition at line 76 of file AliNormalizationCounter.h.

Double_t AliNormalizationCounter::GetSum ( TString  candle = "triggered")
Double_t AliNormalizationCounter::GetSum ( TString  candle,
Int_t  minmultiplicity,
Int_t  maxmultiplicity 
)

Definition at line 498 of file AliNormalizationCounter.cxx.

Long64_t AliNormalizationCounter::Merge ( TCollection list)

Definition at line 128 of file AliNormalizationCounter.cxx.

Int_t AliNormalizationCounter::Multiplicity ( AliVEvent *  event)
private

Definition at line 560 of file AliNormalizationCounter.cxx.

Referenced by StoreCandidates(), and StoreEvent().

AliNormalizationCounter& AliNormalizationCounter::operator= ( const AliNormalizationCounter source)
private
void AliNormalizationCounter::PrintRubrics ( )

Definition at line 339 of file AliNormalizationCounter.cxx.

void AliNormalizationCounter::SetESD ( Bool_t  flag)
inline

Definition at line 60 of file AliNormalizationCounter.h.

void AliNormalizationCounter::SetStudySpherocity ( Bool_t  flag,
Double_t  nsteps = 100. 
)
inline

Member Data Documentation

AliCounterCollection AliNormalizationCounter::fCounters
private
Bool_t AliNormalizationCounter::fESD
private

internal counter

Definition at line 90 of file AliNormalizationCounter.h.

Referenced by SetESD(), and StoreCandidates().

TH2F* AliNormalizationCounter::fHistTrackAnaEvMult
private

hist to store no of filter candidates vs no of tracks in the event

Definition at line 96 of file AliNormalizationCounter.h.

Referenced by Add(), GetHist(), Init(), StoreCandidates(), and ~AliNormalizationCounter().

TH2F* AliNormalizationCounter::fHistTrackAnaSpdMult
private

hist to store no of filter candidates vs SPD multiplicity

Definition at line 98 of file AliNormalizationCounter.h.

Referenced by Add(), GetHist(), Init(), StoreCandidates(), and ~AliNormalizationCounter().

TH2F* AliNormalizationCounter::fHistTrackFilterEvMult
private
TH2F* AliNormalizationCounter::fHistTrackFilterSpdMult
private

hist to store no of analysis candidates vs no of tracks in the event

Definition at line 97 of file AliNormalizationCounter.h.

Referenced by Add(), GetHist(), Init(), StoreCandidates(), and ~AliNormalizationCounter().

Bool_t AliNormalizationCounter::fMultiplicity
private
Float_t AliNormalizationCounter::fMultiplicityEtaRange
private

flag for multiplicity

Definition at line 92 of file AliNormalizationCounter.h.

Referenced by GetStudyMultplicityEtaRange(), Multiplicity(), and SetStudyMultiplicity().

Bool_t AliNormalizationCounter::fSpherocity
private
Double_t AliNormalizationCounter::fSpherocitySteps
private

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