AliPhysics  8d00e07 (8d00e07)

Check EMCal trigger availability in period. More...

#include <TString.h>
Include dependency graph for CheckActiveEMCalTriggerPerPeriod.C:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

Bool_t CheckActiveEMCalTriggerPerPeriod (Bool_t simulation, TString trigger, TString period, Int_t year)
 

Detailed Description

Check EMCal trigger availability in period.

Check if the selected EMCal trigger is appropriate to run the analysis, depending on the period certain triggers were not available.

The trigger names checked are:

  • default: Min bias like triggers, kMB or kINT7
  • EMCAL_L0, DCAL_L0: EMCal or DCal L0 triggers kEMC7, kEMC8, kEMC1
  • EMCAL_L1, DCAL_L1: EMCal or DCal L1 triggers, kEMCEGA, with name EG1 or EGA
  • EMCAL_L2, DCAL_L2: EMCal or DCal L1 triggers, kEMCEGA, with name EG2 Run MC analysis for no trigger, default/MB option.
Author
Gustavo Conesa Balbastre Gusta.nosp@m.vo.C.nosp@m.onesa.nosp@m..Bal.nosp@m.bastr.nosp@m.e@ce.nosp@m.rn.ch, (LPSC-CNRS)

Definition in file CheckActiveEMCalTriggerPerPeriod.C.

Function Documentation

Bool_t CheckActiveEMCalTriggerPerPeriod ( Bool_t  simulation,
TString  trigger,
TString  period,
Int_t  year 
)

Main method

The options that can be passed to the macro are:

Parameters
simulationbool with data (0) or MC (1) condition
triggertrigger string name (EMCAL_L0, EMCAL_L1, EMCAL_L2, DCAL_L0, DCAL_L1, DCAL_L2)
periodLHCXX
year2011, ...
Returns
True if analysis can be done.

Definition at line 37 of file CheckActiveEMCalTriggerPerPeriod.C.

Referenced by AddTaskClusterShape(), and AddTaskPi0IMGammaCorrQA().