CMS 3D CMS Logo

BlockFormatter.h
Go to the documentation of this file.
1 #ifndef BLOCKFORMATTER_H
2 #define BLOCKFORMATTER_H
3 
4 #include <iostream>
5 #include <vector>
6 #include <map>
7 
12 
13 
14 
15  class EcalDigiToRaw;
16 
17 
19  public :
20  typedef uint64_t Word64;
21  typedef uint16_t Word16;
22 
26  static const int kCardsPerTower = 5; // Number of VFE cards per trigger tower
27  void DigiToRaw(FEDRawDataCollection* productRawData);
28  void print(FEDRawData& rawdata);
29  // void CleanUp(FEDRawDataCollection* productRawData);
30  void CleanUp(FEDRawDataCollection* productRawData,
31  std::map<int, std::map<int,int> >* FEDorder);
32  void PrintSizes(FEDRawDataCollection* productRawData);
33 
34  protected :
35  bool debug_;
36 
37  bool doBarrel_;
38  bool doEndCap_;
39  bool doTCC_;
40  bool doSR_;
41  bool doTower_;
42 
43  std::vector<int32_t> * plistDCCId_;
44 
45  int* pcounter_;
47  int* pbx_;
48  int* plv1_;
50 
51 
52 };
53 
54 
55 
56 #endif
57 
58 
void DigiToRaw(FEDRawDataCollection *productRawData)
void print(FEDRawData &rawdata)
void CleanUp(FEDRawDataCollection *productRawData, std::map< int, std::map< int, int > > *FEDorder)
static const int kCardsPerTower
std::vector< int32_t > * plistDCCId_
void PrintSizes(FEDRawDataCollection *productRawData)
base
Make Sure CMSSW is Setup ##.
unsigned long long uint64_t
Definition: Time.h:15
void SetParam(EcalDigiToRaw *base)