First implementation of EMCAL trigger QA from Nicola Arbor
[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
3b0c190c 26/* virtual void Print(Option_t *) const {
d8da9892 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 }
3b0c190c 34*/
d8da9892 35
36 protected:
37
38 // Setters
3b0c190c 39 void SetZDCLeftMinCut(Float_t ZDCLeftMinCut);
40 void SetZDCRightMinCut(Float_t ZDCRightMinCut);
d8da9892 41 void SetZEMMinCut(Float_t ZEMMinCut);
42 void SetZDCLeftEMDCuts(Float_t *ZDCLeftEMDCuts);
43 void SetZDCLeftEMDCuts(Float_t ZDCLeftEMDCutInf, Float_t ZDCLeftEMDCutSup);
44 void SetZDCRightEMDCuts(Float_t *ZDCRightEMDCuts);
45 void SetZDCRightEMDCuts(Float_t ZDCRightEMDCutInf, Float_t ZDCRightEMDCutSup);
3b0c190c 46 void SetZDCLeftMBCut(Float_t ZDCLeftMBCut);
47 void SetZDCRightMBCut(Float_t ZDCRightMBCut);
48 void SetZDCLeftCentrCut(Float_t ZDCLeftCentrCuts);
49 void SetZDCRightCentrCut(Float_t ZDCRightCentrCuts);
50 void SetZDCLeftSemiCentrCut(Float_t ZDCLeftSemiCentrCut);
51 void SetZDCRightSemiCentrCut(Float_t ZDCRightSemiCentrCut);
d8da9892 52 void SetZEMCentrCut(Float_t ZEMCentrCut);
53
54 // Data member
8a2624cc 55 Float_t fZDCLeftMinCut; // ZDC left minimum bias
56 Float_t fZDCRightMinCut; // ZDC right minimum bias
57 Float_t fZEMMinCut; // ZEM minimum bias
58 Float_t fZDCLeftEMDCuts[2]; // ZDC left windows for EMD signal
59 Float_t fZDCRightEMDCuts[2]; // ZDC right windows for EMD signal
60 Float_t fZDCLeftMBCut; // ZDC left minimum bias trigger
61 Float_t fZDCRightMBCut; // ZDC right minimum bias trigger
62 Float_t fZDCLeftCentrCut; // ZDC left central trigger
63 Float_t fZDCRightCentrCut; // ZDC right central trigger
64 Float_t fZDCLeftSemiCentrCut;// ZDC left semi-central trigger
65 Float_t fZDCRightSemiCentrCut;// ZDC right semi- central trigger
66 Float_t fZEMCentrCut; // ZEM cut values
d8da9892 67
68 ClassDef(AliZDCTrigger,1) // ZDC Trigger Detector class
69};
70#endif
71
72
73
74
75
76
77
78