AliPhysics  251aa1e (251aa1e)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AliEmcalPhysicsSelectionTask.h
Go to the documentation of this file.
1 #ifndef ALIEMCALPHYSICSSELECTIONTASK_H
2 #define ALIEMCALPHYSICSSELECTIONTASK_H
3 
4 // $Id$
5 
6 #include "AliPhysicsSelectionTask.h"
8 
9 class TH1;
10 
11 class AliEmcalPhysicsSelectionTask : public AliPhysicsSelectionTask {
12  public:
14  AliEmcalPhysicsSelectionTask(const char* opt);
16 
17  virtual void UserExec(const Option_t *opt);
18  virtual void UserCreateOutputObjects();
19  virtual void Terminate(Option_t*);
20 
21  Int_t GetNCalled() const { return fNCalled; }
22  Int_t GetNAccepted() const { return fNAccepted; }
24  void SelectCollisionCandidates(UInt_t offlineTriggerMask = AliVEvent::kMB)
25  { static_cast<AliEmcalPhysicsSelection*>(fPhysicsSelection)->SetTriggers(offlineTriggerMask); }
26 
27  protected:
28  Bool_t fDoWriteHistos; //=true then write output
33 
34  private:
37 
38  ClassDef(AliEmcalPhysicsSelectionTask, 2); // Emcal physics selection task
39 };
40 #endif
virtual void UserExec(const Option_t *opt)
Int_t fNAccepted
how often was the PS called
int Int_t
Definition: External.C:63
unsigned int UInt_t
Definition: External.C:33
TH1 * fHAcc
how often was the event accepted
AliEmcalPhysicsSelectionTask & operator=(const AliEmcalPhysicsSelectionTask &)
void SelectCollisionCandidates(UInt_t offlineTriggerMask=AliVEvent::kMB)
const char Option_t
Definition: External.C:48
bool Bool_t
Definition: External.C:53
ClassDef(AliEmcalPhysicsSelectionTask, 2)
Definition: External.C:196