CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
EcalDigiToRaw.h
Go to the documentation of this file.
1 #ifndef EcalDigiToRaw_H
2 #define EcalDigiToRaw_H
3 
4 //
5 // Package: EcalDigiToRaw
6 // Class: EcalDigiToRaw
7 //
15 //
16 // Original Author: Emmanuelle Perez
17 // Created: Sat Nov 25 13:59:51 CET 2006
18 //
19 //
20 
21 
22 // system include files
23 #include <memory>
24 #include <iostream>
25 #include <string>
26 
27 
28 // user include files
31 
34 
36 
41 
42 
43 
44 //
45 // class decleration
46 //
47 
49  public:
50  EcalDigiToRaw(const edm::ParameterSet& pset);
51  virtual ~EcalDigiToRaw();
52 
53  void beginJob();
54  void produce(edm::Event& e, const edm::EventSetup& c);
55  void endJob() ;
56 
57  typedef long long Word64;
58  typedef unsigned int Word32;
59 
60  int* GetCounter() {return &counter_ ;}
61  bool GetDebug() {return debug_ ;}
62  int* GetOrbit() {return &orbit_number_ ;}
63  int* GetBX() {return &bx_ ;}
64  int* GetLV1() {return &lv1_ ;}
65  int* GetRunNumber() {return &runnumber_ ;}
66  bool GetDoBarrel() {return doBarrel_ ;}
67  bool GetDoEndCap() {return doEndCap_ ;}
68  bool GetDoSR() {return doSR_ ;}
69  bool GetDoTower() {return doTower_ ;}
70  bool GetDoTCC() {return doTCC_ ;}
71 
72  std::vector<int32_t>* GetListDCCId() {return &listDCCId_ ;}
73 
74  static const int BXMAX = 2808;
75 
76 
77  private:
78 
79 
80  // ----------member data ---------------------------
81 
82  int counter_;
84  bool debug_;
86  int bx_;
87  int lv1_;
88 
89  bool doTCC_;
90  bool doSR_;
91  bool doTower_;
92 
96 
97  bool doBarrel_;
98  bool doEndCap_;
99 
100  std::vector<int32_t> listDCCId_;
101 
105 
110 
111 
112 };
113 
114 //define this as a plug-in
115 // DEFINE_FWK_MODULE(EcalDigiToRaw);
116 
117 #endif
118 
BlockFormatter * Headerblockformatter_
int * GetLV1()
Definition: EcalDigiToRaw.h:64
int * GetCounter()
Definition: EcalDigiToRaw.h:60
TCCBlockFormatter * TCCblockformatter_
unsigned int Word32
Definition: EcalDigiToRaw.h:58
int * GetOrbit()
Definition: EcalDigiToRaw.h:62
edm::InputTag labelTT_
Definition: EcalDigiToRaw.h:93
int * GetRunNumber()
Definition: EcalDigiToRaw.h:65
TowerBlockFormatter * Towerblockformatter_
bool GetDoBarrel()
Definition: EcalDigiToRaw.h:66
SRBlockFormatter * SRblockformatter_
edm::InputTag labelEESR_
Definition: EcalDigiToRaw.h:95
void produce(edm::Event &e, const edm::EventSetup &c)
std::string instanceNameEE_
std::string label_
virtual ~EcalDigiToRaw()
std::vector< int32_t > listDCCId_
long long Word64
Definition: EcalDigiToRaw.h:57
std::vector< int32_t > * GetListDCCId()
Definition: EcalDigiToRaw.h:72
bool GetDoEndCap()
Definition: EcalDigiToRaw.h:67
EcalDigiToRaw(const edm::ParameterSet &pset)
edm::InputTag labelEBSR_
Definition: EcalDigiToRaw.h:94
static const int BXMAX
Definition: EcalDigiToRaw.h:74
bool GetDoTower()
Definition: EcalDigiToRaw.h:69
std::string instanceNameEB_