![]() |
AliPhysics
648edd6 (648edd6)
|
Output for Trig chamber effieincy. More...
#include <AliTrigChEffOutput.h>
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... | |
AliTrigChEffOutput & | operator= (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... | |
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
Definition at line 21 of file AliTrigChEffOutput.h.
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 |
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.
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.
|
virtual |
Destructor
Definition at line 57 of file AliTrigChEffOutput.cxx.
|
private |
Dummy.
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 | ||
) |
Get histogram index
Definition at line 219 of file AliTrigChEffOutput.cxx.
Referenced by AliMTRChEffAnalysis::BuildSystematicMap(), AliMTRChEffAnalysis::CompareEfficiencies(), AliMTRChEffAnalysis::DrawSystematicEnvelope(), AliAnalysisTaskTrigChEff::FinishTaskOutput(), GetCountHisto(), GetEffHistoList(), AliAnalysisTaskTrigChEff::ProcessEvent(), AliMTRChEffAnalysis::RecoverEfficiency(), AliMTRChEffAnalysis::SetCondition(), and AliAnalysisTaskTrigChEff::Terminate().
|
private |
Initialize keys
Definition at line 70 of file AliTrigChEffOutput.cxx.
Referenced by AliTrigChEffOutput().
|
private |
Dummy.
|
private |
!<! Selection names
Definition at line 78 of file AliTrigChEffOutput.h.
Referenced by GetHistoName(), InitKeys(), and ~AliTrigChEffOutput().
|
private |
!<! Base histogram name
Definition at line 80 of file AliTrigChEffOutput.h.
Referenced by GetHistoName(), InitKeys(), and ~AliTrigChEffOutput().
|
private |
!<! Count type keys
Definition at line 79 of file AliTrigChEffOutput.h.
Referenced by GetHistoName(), InitKeys(), and ~AliTrigChEffOutput().
|
private |
!<! Efficiency methods keys
Definition at line 81 of file AliTrigChEffOutput.h.
Referenced by GetHistoName(), InitKeys(), and ~AliTrigChEffOutput().
|
private |
Definition at line 77 of file AliTrigChEffOutput.h.
Referenced by GetHistoName(), InitKeys(), and ~AliTrigChEffOutput().