Trigger class for ZDC
[u/mrichter/AliRoot.git] / ZDC / AliZDCTrigger.h
CommitLineData
d8da9892 1/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
2 * See cxx source for full Copyright notice */
3
4#ifndef ALIZDCTRIGGER_H
5#define ALIZDCTRIGGER_H
6
7/// \ingroup sim
8/// \class AliZDCTrigger
9/// \brief ZDC trigger class
10///
11/////////////////////////////////////////////////
12/// ZDC Trigger Detector Class //
13/////////////////////////////////////////////////
14
15#include "AliTriggerDetector.h"
16
17class AliZDCTrigger : public AliTriggerDetector
18{
19 public:
20 AliZDCTrigger(); // constructor
21 virtual ~AliZDCTrigger(){} // destructor
22 virtual void CreateInputs();
23 virtual void Trigger();
24
25 // Print method
26 virtual void Print(Option_t *) const {
27 printf("\t AliZDCTrigger: fZNMinCut = %1.0f, fZDCMinCut = %1.0f, fZEMMinCut= %1.0f \n"
28 "fZDCLeftEMDCuts = [%1.0f, %1.0f], fZDCRightEMDCuts = [%1.0f, %1.0f], fZDCMBCut = %1.0f\n"
29 "fZDCCentrCut = %1.0f, fZDCSemiCentrCut = %1.0f, fZEMCentrCut = %1.0f\n\n",
30 fZNMinCut,fZDCMinCut,fZEMMinCut,fZDCLeftEMDCuts[0],fZDCLeftEMDCuts[1],
31 fZDCRightEMDCuts[0],fZDCRightEMDCuts[1],fZDCMBCut,fZDCCentrCut,fZDCSemiCentrCut,
32 fZEMCentrCut);
33 }
34
35 protected:
36
37 // Setters
38 void SetZNMinCut(Float_t ZNMinCut);
39 void SetZDCMinCut(Float_t ZDCMinCut);
40 void SetZEMMinCut(Float_t ZEMMinCut);
41 void SetZDCLeftEMDCuts(Float_t *ZDCLeftEMDCuts);
42 void SetZDCLeftEMDCuts(Float_t ZDCLeftEMDCutInf, Float_t ZDCLeftEMDCutSup);
43 void SetZDCRightEMDCuts(Float_t *ZDCRightEMDCuts);
44 void SetZDCRightEMDCuts(Float_t ZDCRightEMDCutInf, Float_t ZDCRightEMDCutSup);
45 void SetZDCMBCut(Float_t ZDCMBCut);
46 void SetZDCCentrCut(Float_t ZDCCentrCuts);
47 void SetZDCSemiCentrCut(Float_t ZDCSemiCentrCut);
48 void SetZEMCentrCut(Float_t ZEMCentrCut);
49
50 // Data member
51 Float_t fZNMinCut;
52 Float_t fZDCMinCut;
53 Float_t fZEMMinCut;
54 Float_t fZDCLeftEMDCuts[2];
55 Float_t fZDCRightEMDCuts[2];
56 Float_t fZDCMBCut;
57 Float_t fZDCCentrCut;
58 Float_t fZDCSemiCentrCut;
59 Float_t fZEMCentrCut;
60
61 ClassDef(AliZDCTrigger,1) // ZDC Trigger Detector class
62};
63#endif
64
65
66
67
68
69
70
71