27 #ifndef __ALIANALYSISTASKMEMCALRECALCPATCHESREF_H__ 28 #define __ALIANALYSISTASKMEMCALRECALCPATCHESREF_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; }
void SetOnlineThreshold(ETriggerThreshold_t trigger, Int_t value)
virtual ~AliAnalysisTaskEmcalRecalcPatchesRef()
AliAnalysisTaskEmcalRecalcPatchesRef()
TArrayI fOnlineThresholds
Online thresholds.
Base class for analyses using EMCAL triggers.
static AliAnalysisTaskEmcalRecalcPatchesRef * AddTaskEmcalRecalcPatches(const char *suffix)
AliAnalysisTaskEmcalRecalcPatchesRef & operator=(const AliAnalysisTaskEmcalRecalcPatchesRef &)
bool InRange(int test, int includemin, int includemax) const
virtual void UserFillHistosAfterEventSelection()
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.
virtual void CreateUserHistos()
std::vector< std::string > GetAcceptedTriggerClusters(const char *triggerstring) const
Analysis of high- tracks in triggered events.
int GetNumberNonOverlappingPatchAreas(const std::vector< AliEMCALTriggerPatchInfo * > &diredpatches) const
std::vector< AliEMCALTriggerPatchInfo * > SelectAllPatchesByType(const TClonesArray &patches, EPatchType_t patchtype) const
bool HasOverlap(const AliEMCALTriggerPatchInfo *ref, const AliEMCALTriggerPatchInfo *test) const
void test(int runnumber=195345)
std::vector< AliEMCALTriggerPatchInfo * > SelectFiredPatchesByTrigger(const TClonesArray &patches, ETriggerThreshold_t trigger) const
virtual void CreateUserObjects()
Bool_t fEnableSumw2
Enable sum of weights.
void SetEnableSumw2(Bool_t doEnable)