CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
TowerBlockFormatter.h
Go to the documentation of this file.
1 #ifndef TOWERBLOCKFORMATTER_H
2 #define TOWERBLOCKFORMATTER_H
3 
4 #include <iostream>
5 #include <vector>
6 #include <map>
7 
12 
14 
15 
16 //
17 // The crystals corresponding to a given FE in a given FED
18 //
19 
20 
21 
23  public :
24 
27  static const int kCardsPerTower = 5; // Number of VFE cards per trigger tower
28  void DigiToRaw(const EBDataFrame& dataframe, FEDRawData& rawdata, const EcalElectronicsMapping* TheMapping);
29  void DigiToRaw(const EEDataFrame& dataframe, FEDRawData& rawdata, const EcalElectronicsMapping* TheMapping);
30  void StartEvent();
31  void EndEvent(FEDRawDataCollection* productRawData);
32 
33  std::map<int, std::map<int,int> >* GetFEDorder() {return FEDorder; }
34 
35  private :
36  std::map<int, std::map<int,int> >* FEDmap;
37  std::map<int, std::map<int,int> >* FEDorder;
38 
39 
40 };
41 
42 
43 
44 #endif
45 
46 
std::map< int, std::map< int, int > > * FEDmap
std::map< int, std::map< int, int > > * GetFEDorder()
std::map< int, std::map< int, int > > * FEDorder
static const int kCardsPerTower
void EndEvent(FEDRawDataCollection *productRawData)
dictionary rawdata
Definition: lumiPlot.py:393
void DigiToRaw(const EBDataFrame &dataframe, FEDRawData &rawdata, const EcalElectronicsMapping *TheMapping)