AliPhysics  d565ceb (d565ceb)
AliAnalysisTaskTriggerRates Class Reference

task to study online/offline trigger combinations More...

#include <AliAnalysisTaskTriggerRates.h>

Inheritance diagram for AliAnalysisTaskTriggerRates:

Public Member Functions

 AliAnalysisTaskTriggerRates ()
 
 AliAnalysisTaskTriggerRates (const char *name)
 
virtual ~AliAnalysisTaskTriggerRates ()
 
virtual void NotifyRun ()
 
virtual void UserCreateOutputObjects ()
 
virtual void UserExec (Option_t *option)
 
virtual void Terminate (Option_t *)
 
void SelectCentrality (Bool_t flag=kTRUE)
 separate events according to their centrality More...
 
void SetZeroDevRange (UInt_t deltaDev)
 set the range of trigger deviation (15 ± deltaDev) for which the trigger sign is considered as unknown More...
 
void SetTrigClassPatterns (TString mul, TString mll, TString msl, TString msh)
 set the trigger class patterns (e.g. "CMUU7-B-NOPF-") More...
 
void PrintCounts (Bool_t flag=kTRUE)
 print raw counts instead of rates More...
 

Private Member Functions

 AliAnalysisTaskTriggerRates (const AliAnalysisTaskTriggerRates &)
 
AliAnalysisTaskTriggerRatesoperator= (const AliAnalysisTaskTriggerRates &)
 
void InitCentralityBins ()
 
Int_t TriggerDevSign (AliVParticle *track, UInt_t deltaDev) const
 
void PrintRates (TString ps, TString cent) const
 

Private Attributes

AliCounterCollection * fTriggerCounters
 
Int_t fnCent
 trigger counters More...
 
Float_t fCentBinRange [10][2]
 number of centrality bin used (< 10) More...
 
TString fCentBinName [10]
 centrality bin intervals More...
 
UInt_t fDeltaDev
 centrality bin names More...
 
TString fMULPattern
 set trgSign = 0 for trigger track with dev = 15 ± fDeltaDev More...
 
TString fMLLPattern
 MUL trigger class pattern. More...
 
TString fMSLPattern
 MLL trigger class pattern. More...
 
TString fMSHPattern
 MSL trigger class pattern. More...
 
Bool_t fPrinfCounts
 MSH trigger class pattern. More...
 

Detailed Description

task to study online/offline trigger combinations

Definition at line 15 of file AliAnalysisTaskTriggerRates.h.

Constructor & Destructor Documentation

AliAnalysisTaskTriggerRates::AliAnalysisTaskTriggerRates ( )

Definition at line 37 of file AliAnalysisTaskTriggerRates.cxx.

Referenced by PrintCounts().

AliAnalysisTaskTriggerRates::AliAnalysisTaskTriggerRates ( const char *  name)

Definition at line 55 of file AliAnalysisTaskTriggerRates.cxx.

AliAnalysisTaskTriggerRates::~AliAnalysisTaskTriggerRates ( )
virtual

Definition at line 74 of file AliAnalysisTaskTriggerRates.cxx.

AliAnalysisTaskTriggerRates::AliAnalysisTaskTriggerRates ( const AliAnalysisTaskTriggerRates )
private

Member Function Documentation

void AliAnalysisTaskTriggerRates::InitCentralityBins ( )
private

Set the default centrality bins

Definition at line 230 of file AliAnalysisTaskTriggerRates.cxx.

Referenced by AliAnalysisTaskTriggerRates(), and PrintCounts().

virtual void AliAnalysisTaskTriggerRates::NotifyRun ( )
inlinevirtual

Definition at line 22 of file AliAnalysisTaskTriggerRates.h.

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

Referenced by PrintCounts().

void AliAnalysisTaskTriggerRates::PrintCounts ( Bool_t  flag = kTRUE)
inline

print raw counts instead of rates

Definition at line 42 of file AliAnalysisTaskTriggerRates.h.

void AliAnalysisTaskTriggerRates::PrintRates ( TString  ps,
TString  cent 
) const
private

print trigger online versus trigger offline

Definition at line 258 of file AliAnalysisTaskTriggerRates.cxx.

Referenced by PrintCounts(), and Terminate().

void AliAnalysisTaskTriggerRates::SelectCentrality ( Bool_t  flag = kTRUE)
inline

separate events according to their centrality

Definition at line 28 of file AliAnalysisTaskTriggerRates.h.

void AliAnalysisTaskTriggerRates::SetTrigClassPatterns ( TString  mul,
TString  mll,
TString  msl,
TString  msh 
)
inline

set the trigger class patterns (e.g. "CMUU7-B-NOPF-")

Definition at line 34 of file AliAnalysisTaskTriggerRates.h.

void AliAnalysisTaskTriggerRates::SetZeroDevRange ( UInt_t  deltaDev)
inline

set the range of trigger deviation (15 ± deltaDev) for which the trigger sign is considered as unknown

Definition at line 31 of file AliAnalysisTaskTriggerRates.h.

void AliAnalysisTaskTriggerRates::Terminate ( Option_t )
virtual

Definition at line 211 of file AliAnalysisTaskTriggerRates.cxx.

Referenced by NotifyRun().

Int_t AliAnalysisTaskTriggerRates::TriggerDevSign ( AliVParticle *  track,
UInt_t  deltaDev 
) const
private

get the sign (±1) of track deviation in the trigger (0 = unknown)

Definition at line 243 of file AliAnalysisTaskTriggerRates.cxx.

Referenced by PrintCounts(), and UserExec().

void AliAnalysisTaskTriggerRates::UserCreateOutputObjects ( )
virtual

Definition at line 80 of file AliAnalysisTaskTriggerRates.cxx.

Referenced by NotifyRun().

void AliAnalysisTaskTriggerRates::UserExec ( Option_t option)
virtual

Definition at line 105 of file AliAnalysisTaskTriggerRates.cxx.

Referenced by NotifyRun().

Member Data Documentation

TString AliAnalysisTaskTriggerRates::fCentBinName[10]
private

centrality bin intervals

Definition at line 56 of file AliAnalysisTaskTriggerRates.h.

Referenced by InitCentralityBins(), UserCreateOutputObjects(), and UserExec().

Float_t AliAnalysisTaskTriggerRates::fCentBinRange[10][2]
private

number of centrality bin used (< 10)

Definition at line 55 of file AliAnalysisTaskTriggerRates.h.

Referenced by InitCentralityBins(), and UserExec().

UInt_t AliAnalysisTaskTriggerRates::fDeltaDev
private

centrality bin names

Definition at line 57 of file AliAnalysisTaskTriggerRates.h.

Referenced by SetZeroDevRange(), and UserExec().

TString AliAnalysisTaskTriggerRates::fMLLPattern
private

MUL trigger class pattern.

Definition at line 59 of file AliAnalysisTaskTriggerRates.h.

Referenced by SetTrigClassPatterns(), and UserExec().

TString AliAnalysisTaskTriggerRates::fMSHPattern
private

MSL trigger class pattern.

Definition at line 61 of file AliAnalysisTaskTriggerRates.h.

Referenced by SetTrigClassPatterns(), and UserExec().

TString AliAnalysisTaskTriggerRates::fMSLPattern
private

MLL trigger class pattern.

Definition at line 60 of file AliAnalysisTaskTriggerRates.h.

Referenced by SetTrigClassPatterns(), and UserExec().

TString AliAnalysisTaskTriggerRates::fMULPattern
private

set trgSign = 0 for trigger track with dev = 15 ± fDeltaDev

Definition at line 58 of file AliAnalysisTaskTriggerRates.h.

Referenced by SetTrigClassPatterns(), and UserExec().

Int_t AliAnalysisTaskTriggerRates::fnCent
private

trigger counters

Definition at line 54 of file AliAnalysisTaskTriggerRates.h.

Referenced by SelectCentrality(), UserCreateOutputObjects(), and UserExec().

Bool_t AliAnalysisTaskTriggerRates::fPrinfCounts
private

MSH trigger class pattern.

Definition at line 62 of file AliAnalysisTaskTriggerRates.h.

Referenced by PrintCounts(), and PrintRates().

AliCounterCollection* AliAnalysisTaskTriggerRates::fTriggerCounters
private

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