AliPhysics  vAN-20150822 (d56cf94)
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Macros
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 StoreEvent (AliVEvent *, AliRDHFCuts *, Bool_t mc=kFALSE, Int_t multiplicity=-9999)
 
void StoreCandidates (AliVEvent *, Int_t nCand=0, Bool_t flagFilter=kTRUE)
 
TH1D * DrawAgainstRuns (TString candle="candid(filter)", Bool_t drawHist=kTRUE)
 
TH1D * DrawRatio (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)
 
TH2F * GetHist (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)
 
TH1D * DrawNEventsForNorm (Bool_t drawRatio=kFALSE)
 

Private Member Functions

 AliNormalizationCounter (const AliNormalizationCounter &source)
 
AliNormalizationCounteroperator= (const AliNormalizationCounter &source)
 
Int_t Multiplicity (AliVEvent *event)
 

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...
 
TH2F * fHistTrackFilterEvMult
 
TH2F * fHistTrackAnaEvMult
 hist to store no of filter candidates vs no of tracks in the event More...
 
TH2F * fHistTrackFilterSpdMult
 hist to store no of analysis candidates vs no of tracks in the event More...
 
TH2F * fHistTrackAnaSpdMult
 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 48 of file AliNormalizationCounter.cxx.

AliNormalizationCounter::AliNormalizationCounter ( const char *  name)

Definition at line 63 of file AliNormalizationCounter.cxx.

AliNormalizationCounter::~AliNormalizationCounter ( )
virtual

Definition at line 78 of file AliNormalizationCounter.cxx.

AliNormalizationCounter::AliNormalizationCounter ( const AliNormalizationCounter source)
private

Member Function Documentation

void AliNormalizationCounter::Add ( const AliNormalizationCounter norm)

Definition at line 144 of file AliNormalizationCounter.cxx.

Referenced by Merge().

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

Definition at line 340 of file AliNormalizationCounter.cxx.

Referenced by DrawRatio().

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

Definition at line 478 of file AliNormalizationCounter.cxx.

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

Definition at line 352 of file AliNormalizationCounter.cxx.

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 380 of file AliNormalizationCounter.cxx.

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

Definition at line 405 of file AliNormalizationCounter.cxx.

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

Definition at line 422 of file AliNormalizationCounter.cxx.

Bool_t AliNormalizationCounter::GetStudyMultiplicity ( )
inline

Definition at line 73 of file AliNormalizationCounter.h.

Float_t AliNormalizationCounter::GetStudyMultplicityEtaRange ( )
inline

Definition at line 74 of file AliNormalizationCounter.h.

Double_t AliNormalizationCounter::GetSum ( TString  candle = "triggered")

Definition at line 374 of file AliNormalizationCounter.cxx.

Referenced by GetNEventsForNorm(), and GetSum().

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

Definition at line 454 of file AliNormalizationCounter.cxx.

Long64_t AliNormalizationCounter::Merge ( TCollection *  list)

Definition at line 122 of file AliNormalizationCounter.cxx.

Int_t AliNormalizationCounter::Multiplicity ( AliVEvent *  event)
private

Definition at line 516 of file AliNormalizationCounter.cxx.

Referenced by StoreCandidates(), and StoreEvent().

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

Definition at line 370 of file AliNormalizationCounter.cxx.

void AliNormalizationCounter::SetESD ( Bool_t  flag)
inline

Definition at line 60 of file AliNormalizationCounter.h.

void AliNormalizationCounter::SetStudyMultiplicity ( Bool_t  flag,
Float_t  etaRange 
)
inline

Member Data Documentation

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

internal counter

Definition at line 83 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 87 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 89 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 88 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 85 of file AliNormalizationCounter.h.

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


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