27 #ifndef __ALIANALYSISTASKMEMCALCLUSTERNOISETRIGGERS_H__ 28 #define __ALIANALYSISTASKMEMCALCLUSTERNOISETRIGGERS_H__ 34 class AliEMCALTriggerPatchInfo;
74 bool HasOverlap(
const AliEMCALTriggerPatchInfo &ref,
const AliEMCALTriggerPatchInfo &
test)
const;
75 bool InRange(
int test,
int includemin,
int includemax)
const {
return test >= includemin && test <= includemax; }
std::vector< std::string > GetAcceptedTriggerClusters(const char *triggerstring) const
void SetEnableSumw2(Bool_t doEnable)
std::vector< const AliEMCALTriggerPatchInfo * > SelectAllPatchesByType(const TClonesArray &patches, EPatchType_t patchtype) const
static AliAnalysisTaskEmcalClusterNoiseTriggers * AddTaskEmcalClusterNoiseTriggers(const char *suffix)
virtual void UserFillHistosAfterEventSelection()
virtual void CreateUserObjects()
virtual void CreateUserHistos()
TArrayI fOnlineThresholds
Online thresholds.
AliAnalysisTaskEmcalClusterNoiseTriggers()
Bool_t fEnableSumw2
Enable sum of weights.
Base class for analyses using EMCAL triggers.
void SetOnlineThreshold(ETriggerThreshold_t trigger, Int_t value)
bool HasOverlap(const AliEMCALTriggerPatchInfo &ref, const AliEMCALTriggerPatchInfo &test) const
int GetNumberNonOverlappingPatchAreas(const std::vector< const AliEMCALTriggerPatchInfo * > &diredpatches) const
Analysis of high- tracks in triggered events.
std::vector< const AliEMCALTriggerPatchInfo * > SelectFiredPatchesByTrigger(const TClonesArray &patches, ETriggerThreshold_t trigger) const
void test(int runnumber=195345)
virtual bool Run()
Run function. This is the core function of the analysis and contains the user code. Therefore users have to implement this function.
bool InRange(int test, int includemin, int includemax) const
virtual ~AliAnalysisTaskEmcalClusterNoiseTriggers()
AliAnalysisTaskEmcalClusterNoiseTriggers & operator=(const AliAnalysisTaskEmcalClusterNoiseTriggers &)