CMS 3D CMS Logo

TCCBlockFormatter.h

Go to the documentation of this file.
00001 #ifndef TCCBLOCKFORMATTER_H
00002 #define TCCBLOCKFORMATTER_H
00003 
00004 #include <iostream>
00005 #include <vector>
00006 #include <map>
00007 
00008 #include "DataFormats/EcalDigi/interface/EcalDigiCollections.h"
00009 #include "DataFormats/FEDRawData/interface/FEDRawDataCollection.h"
00010 #include "DataFormats/FEDRawData/interface/FEDRawData.h"
00011 #include "EventFilter/EcalDigiToRaw/interface/BlockFormatter.h"
00012 
00013 #include "Geometry/EcalMapping/interface/EcalElectronicsMapping.h"
00014 
00015 
00016 // 
00017 // The block containing the trigger towers for a given FED
00018 //
00019 
00020 
00021 
00022 class TCCBlockFormatter : public BlockFormatter {
00023  public :
00024 
00025         TCCBlockFormatter();
00026         ~TCCBlockFormatter();
00027         static const int kCardsPerTower = 5;     // Number of VFE cards per trigger tower
00028         void DigiToRaw(const EcalTriggerPrimitiveDigi& trigprim, FEDRawData& rawdata, const EcalElectronicsMapping* TheMapping);
00029 
00030  private :
00031         bool AllTPsamples_;
00032 
00033 };
00034 
00035 
00036 
00037 #endif
00038 
00039 

Generated on Tue Jun 9 17:34:30 2009 for CMSSW by  doxygen 1.5.4