AliPhysics  v5-07-18-02 (20ec537)
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Macros
AliTrigChEffOutput Class Reference

Output for Trig chamber effieincy. More...

#include <AliTrigChEffOutput.h>

Inheritance diagram for AliTrigChEffOutput:

Public Types

enum  {
  kBendingEff, kNonBendingEff, kBothPlanesEff, kAllTracks,
  kNcounts
}
 
enum  {
  kHchamberEff, kHslatEff, kHboardEff, kHcheckBoard,
  kNhistoTypes
}
 
enum  {
  kNoMatch, kMatchApt, kMatchLpt, kMatchHpt,
  kNtrigMatch
}
 
enum  { kSelectTrack, kNoSelectTrack, kNtrackSel }
 
enum  { kEffFromTrack, kEffFromTrig, kNeffMethods }
 

Public Member Functions

 AliTrigChEffOutput (TObjArray *outputList, const char *name="")
 
 AliTrigChEffOutput (const char *filename, const char *outputName="testMTRChamberEff")
 
virtual ~AliTrigChEffOutput ()
 
TList * GetEffHistoList (TString physSel, TString trigClassNames, TString centrality, Int_t itrackSel, Int_t imatch, Int_t imethod)
 
TString GetHistoName (Int_t itype, Int_t icount, Int_t ichamber, Int_t itrackSel, Int_t imatch, Int_t imethod)
 
TH1 * GetCountHisto (Int_t itype, Int_t icount, Int_t ichamber, Int_t itrackSel, Int_t imatch, Int_t imethod)
 

Private Member Functions

 AliTrigChEffOutput (const AliTrigChEffOutput &)
 Dummy. More...
 
AliTrigChEffOutputoperator= (const AliTrigChEffOutput &)
 Dummy. More...
 
void InitKeys ()
 

Private Attributes

TObjArray * fTrackSelKeys
 
TObjArray * fCountTypeKeys
 !<! Selection names More...
 
TObjArray * fHistoTypeKeys
 !<! Count type keys More...
 
TObjArray * fEffMethodKeys
 !<! Base histogram name More...
 
TObjArray * fMatchTrigKeys
 !<! Efficiency methods keys More...
 

Detailed Description

Output for Trig chamber effieincy.

The class manipulates the output of AliAnalysisTaskTrigChEff in order to build the trigger chamber efficiency object to be plugged in the OCDB for simulations

Author
Diego Stocco dstoc.nosp@m.co@c.nosp@m.ern.c.nosp@m.h, Subatech
Date
Oct 21, 2015

Definition at line 21 of file AliTrigChEffOutput.h.

Member Enumeration Documentation

anonymous enum
Enumerator
kBendingEff 

Bending plane fired.

kNonBendingEff 

Non-bending plane fired.

kBothPlanesEff 

Both planes fired.

kAllTracks 

tracks used for calculation

kNcounts 

Number of count type.

Definition at line 32 of file AliTrigChEffOutput.h.

anonymous enum
Enumerator
kHchamberEff 

Counts per cathode histogram index.

kHslatEff 

Counts per slat histogram index.

kHboardEff 

Counts per board histogram index.

kHcheckBoard 

Check rejected tracks per board.

kNhistoTypes 

Check rejected tracks per board.

Definition at line 40 of file AliTrigChEffOutput.h.

anonymous enum
Enumerator
kNoMatch 

No match with trigger.

kMatchApt 

Match All Pt.

kMatchLpt 

Match Low Pt.

kMatchHpt 

Match High Pt.

kNtrigMatch 

Total number of matched types.

Definition at line 48 of file AliTrigChEffOutput.h.

anonymous enum
Enumerator
kSelectTrack 

Selected track.

kNoSelectTrack 

Non selected tracks (includes ghosts)

kNtrackSel 

Total number of track selection.

Definition at line 56 of file AliTrigChEffOutput.h.

anonymous enum
Enumerator
kEffFromTrack 

Hit pattern from tracker track extrapolation.

kEffFromTrig 

Hit pattern from trigger.

kNeffMethods 

Total number of efficiency methods.

Definition at line 62 of file AliTrigChEffOutput.h.

Constructor & Destructor Documentation

AliTrigChEffOutput::AliTrigChEffOutput ( TObjArray *  outputList,
const char *  name = "" 
)

Ctor.

Definition at line 31 of file AliTrigChEffOutput.cxx.

AliTrigChEffOutput::AliTrigChEffOutput ( const char *  filename,
const char *  outputName = "testMTRChamberEff" 
)

Ctor.

Definition at line 44 of file AliTrigChEffOutput.cxx.

AliTrigChEffOutput::~AliTrigChEffOutput ( )
virtual

Destructor

Definition at line 57 of file AliTrigChEffOutput.cxx.

AliTrigChEffOutput::AliTrigChEffOutput ( const AliTrigChEffOutput )
private

Dummy.

Member Function Documentation

TH1 * AliTrigChEffOutput::GetCountHisto ( Int_t  itype,
Int_t  icount,
Int_t  ichamber,
Int_t  itrackSel,
Int_t  imatch,
Int_t  imethod 
)

Get histogram with counts for efficiency calculation

Definition at line 170 of file AliTrigChEffOutput.cxx.

Referenced by GetEffHistoList(), and AliAnalysisTaskTrigChEff::MyUserCreateOutputObjects().

TList * AliTrigChEffOutput::GetEffHistoList ( TString  physSel,
TString  trigClassNames,
TString  centrality,
Int_t  itrackSel,
Int_t  imatch,
Int_t  imethod 
)

Get the list of objects for the efficiency calculation merging the splitted output of the fMergeableCollection The obtained list can be converted in the efficiency map used in simulations in a backward compatible way

Definition at line 90 of file AliTrigChEffOutput.cxx.

Referenced by AliAnalysisTaskTrigChEff::FinishTaskOutput(), AliMTRChEffAnalysis::GetEffHistoList(), and AliAnalysisTaskTrigChEff::Terminate().

TString AliTrigChEffOutput::GetHistoName ( Int_t  itype,
Int_t  icount,
Int_t  ichamber,
Int_t  itrackSel,
Int_t  imatch,
Int_t  imethod 
)
void AliTrigChEffOutput::InitKeys ( )
private

Initialize keys

Definition at line 70 of file AliTrigChEffOutput.cxx.

Referenced by AliTrigChEffOutput().

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

Dummy.

Member Data Documentation

TObjArray* AliTrigChEffOutput::fCountTypeKeys
private

!<! Selection names

Definition at line 78 of file AliTrigChEffOutput.h.

Referenced by GetHistoName(), InitKeys(), and ~AliTrigChEffOutput().

TObjArray* AliTrigChEffOutput::fEffMethodKeys
private

!<! Base histogram name

Definition at line 80 of file AliTrigChEffOutput.h.

Referenced by GetHistoName(), InitKeys(), and ~AliTrigChEffOutput().

TObjArray* AliTrigChEffOutput::fHistoTypeKeys
private

!<! Count type keys

Definition at line 79 of file AliTrigChEffOutput.h.

Referenced by GetHistoName(), InitKeys(), and ~AliTrigChEffOutput().

TObjArray* AliTrigChEffOutput::fMatchTrigKeys
private

!<! Efficiency methods keys

Definition at line 81 of file AliTrigChEffOutput.h.

Referenced by GetHistoName(), InitKeys(), and ~AliTrigChEffOutput().

TObjArray* AliTrigChEffOutput::fTrackSelKeys
private

Definition at line 77 of file AliTrigChEffOutput.h.

Referenced by GetHistoName(), InitKeys(), and ~AliTrigChEffOutput().


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