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 // $Id: EcalDigiToRaw.h,v 1.9 2010/01/13 21:55:15 wmtan Exp $
19 //
20 //
21 
22 
23 // system include files
24 #include <memory>
25 #include <iostream>
26 #include <string>
27 
28 
29 // user include files
32 
35 
37 
42 
43 
44 
45 //
46 // class decleration
47 //
48 
50  public:
51  EcalDigiToRaw(const edm::ParameterSet& pset);
52  virtual ~EcalDigiToRaw();
53 
54  void beginJob();
55  void produce(edm::Event& e, const edm::EventSetup& c);
56  void endJob() ;
57 
58  typedef long long Word64;
59  typedef unsigned int Word32;
60 
61  int* GetCounter() {return &counter_ ;}
62  bool GetDebug() {return debug_ ;}
63  int* GetOrbit() {return &orbit_number_ ;}
64  int* GetBX() {return &bx_ ;}
65  int* GetLV1() {return &lv1_ ;}
66  int* GetRunNumber() {return &runnumber_ ;}
67  bool GetDoBarrel() {return doBarrel_ ;}
68  bool GetDoEndCap() {return doEndCap_ ;}
69  bool GetDoSR() {return doSR_ ;}
70  bool GetDoTower() {return doTower_ ;}
71  bool GetDoTCC() {return doTCC_ ;}
72 
73  std::vector<int32_t>* GetListDCCId() {return &listDCCId_ ;}
74 
75  static const int BXMAX = 2808;
76 
77 
78  private:
79 
80 
81  // ----------member data ---------------------------
82 
83  int counter_;
85  bool debug_;
87  int bx_;
88  int lv1_;
89 
90  bool doTCC_;
91  bool doSR_;
92  bool doTower_;
93 
97 
98  bool doBarrel_;
99  bool doEndCap_;
100 
101  std::vector<int32_t> listDCCId_;
102 
103  std::string label_;
104  std::string instanceNameEB_;
105  std::string instanceNameEE_;
106 
111 
112 
113 };
114 
115 //define this as a plug-in
116 // DEFINE_FWK_MODULE(EcalDigiToRaw);
117 
118 #endif
119 
BlockFormatter * Headerblockformatter_
int * GetLV1()
Definition: EcalDigiToRaw.h:65
int * GetCounter()
Definition: EcalDigiToRaw.h:61
TCCBlockFormatter * TCCblockformatter_
unsigned int Word32
Definition: EcalDigiToRaw.h:59
int * GetOrbit()
Definition: EcalDigiToRaw.h:63
edm::InputTag labelTT_
Definition: EcalDigiToRaw.h:94
int * GetRunNumber()
Definition: EcalDigiToRaw.h:66
TowerBlockFormatter * Towerblockformatter_
bool GetDoBarrel()
Definition: EcalDigiToRaw.h:67
SRBlockFormatter * SRblockformatter_
edm::InputTag labelEESR_
Definition: EcalDigiToRaw.h:96
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:58
std::vector< int32_t > * GetListDCCId()
Definition: EcalDigiToRaw.h:73
bool GetDoEndCap()
Definition: EcalDigiToRaw.h:68
EcalDigiToRaw(const edm::ParameterSet &pset)
edm::InputTag labelEBSR_
Definition: EcalDigiToRaw.h:95
static const int BXMAX
Definition: EcalDigiToRaw.h:75
bool GetDoTower()
Definition: EcalDigiToRaw.h:70
std::string instanceNameEB_