00001 #ifndef CSCTFPacker_h 00002 #define CSCTFPacker_h 00003 00004 #include "FWCore/Framework/interface/EDProducer.h" 00005 #include "FWCore/Framework/interface/Event.h" 00006 #include "FWCore/ParameterSet/interface/ParameterSet.h" 00007 #include "FWCore/Framework/interface/EventSetup.h" 00008 #include "FWCore/Utilities/interface/InputTag.h" 00009 00010 #include <string> 00011 00012 class CSCTFPacker : public edm::EDProducer { 00013 private: 00014 edm::InputTag lctProducer, mbProducer, trackProducer; 00015 00016 bool zeroSuppression; 00017 unsigned short nTBINs; 00018 unsigned short activeSectors; 00019 bool putBufferToEvent; 00020 00021 bool swapME1strips; 00022 00023 FILE *file; 00024 00025 int m_minBX, m_maxBX, central_lct_bx, central_sp_bx; 00026 00027 public: 00028 virtual void produce(edm::Event& e, const edm::EventSetup& c); 00029 00030 explicit CSCTFPacker(const edm::ParameterSet &conf); 00031 ~CSCTFPacker(void); 00032 }; 00033 00034 #endif