AliPhysics  vAN-20150328 (7755d27)
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Macros
AliEMCalTriggerPatchAnalysisComponent.h
Go to the documentation of this file.
1 
8 #ifndef ALIEMCALTRIGGERPATCHANALYSISCOMPONENT_H
9 #define ALIEMCALTRIGGERPATCHANALYSISCOMPONENT_H
10 /* Copyright(c) 1998-2014, ALICE Experiment at CERN, All rights reserved. *
11  * See cxx source for full Copyright notice */
12 
14 
22 namespace EMCalTriggerPtAnalysis {
23 
24 class AliEMCalTriggerEventData;
25 
36 public:
38  AliEMCalTriggerPatchAnalysisComponent(const char *name);
40 
41  virtual void CreateHistos();
42  virtual void Process(const AliEMCalTriggerEventData * const data);
43 
49  Bool_t IsSwapOnlineThresholds() const { return fSwapOnlineThresholds; }
50 
57 
63  void SetSwapOnlineThresholds(Bool_t doSwap = kTRUE) { fSwapOnlineThresholds = doSwap; }
64 
70  void SetSwapOfflineThresholds(Bool_t doSwap = kTRUE) { fSwapOfflineThresholds = doSwap; }
71 
72 protected:
73 
76 
78  ClassDef(AliEMCalTriggerPatchAnalysisComponent, 1); // Component for trigger patch analysis
80 };
81 
82 } /* namespace EMCalTriggerPtAnalysis */
83 
84 #endif /* ALIEMCALTRIGGERPATCHANALYSISCOMPONENT_H */
Base class for analysis components.
Bool_t fSwapOnlineThresholds
Swap trigger thresholds for online patches.
Base class for analysis components in the analysis of EMCAL-triggered events.
Bool_t fSwapOfflineThresholds
Swap trigger thresholds for offline patches.