CMS 3D CMS Logo

EcalEBTrigPrimProducer.h
Go to the documentation of this file.
1 #ifndef EcalEBTrigPrimProducer_h
2 #define EcalEBTrigPrimProducer_h
3 
9 #include <memory>
10 
16 
18 
24 
45 
47 
49 public:
50  explicit EcalEBTrigPrimProducer(const edm::ParameterSet& conf);
51 
52  ~EcalEBTrigPrimProducer() override;
53 
54  void beginRun(const edm::Run& run, const edm::EventSetup& es) override;
55  void endRun(const edm::Run&, const edm::EventSetup&) override;
56  void produce(edm::Event& e, const edm::EventSetup& c) override;
57 
58 private:
59  std::unique_ptr<EcalEBTrigPrimTestAlgo> algo_;
61  bool tcpFormat_;
62  bool debug_;
63  bool famos_;
64  int nSamples_;
65  int nEvent_;
66 
78  //these are only used if we also handle the endcap
81 
84 
85  unsigned long long getRecords(edm::EventSetup const& setup);
86  unsigned long long cacheID_;
87 };
88 
89 #endif
edm::ESGetToken< EcalTPGPedestals, EcalTPGPedestalsRcd > theEcalTPGPedestals_Token_
void beginRun(const edm::Run &run, const edm::EventSetup &es) override
EcalEBTrigPrimProducer(const edm::ParameterSet &conf)
edm::ESGetToken< EcalTPGLutIdMap, EcalTPGLutIdMapRcd > theEcalTPGLutIdMap_Token_
edm::EDGetTokenT< EBDigiCollection > tokenEBdigi_
edm::ESGetToken< EcalTPGSpike, EcalTPGSpikeRcd > theEcalTPGSpike_Token_
unsigned long long getRecords(edm::EventSetup const &setup)
edm::ESGetToken< EcalTPGTowerStatus, EcalTPGTowerStatusRcd > theEcalTPGTowerStatus_Token_
std::unique_ptr< EcalEBTrigPrimTestAlgo > algo_
edm::ESGetToken< EcalTPGLutGroup, EcalTPGLutGroupRcd > theEcalTPGLutGroup_Token_
edm::ESGetToken< CaloGeometry, CaloGeometryRecord > theGeometryToken_
edm::ESGetToken< EcalTPGWeightGroup, EcalTPGWeightGroupRcd > theEcalTPGWEightGroup_Token_
void produce(edm::Event &e, const edm::EventSetup &c) override
edm::ESGetToken< EcalTrigTowerConstituentsMap, IdealGeometryRecord > eTTmapToken_
edm::ESGetToken< EcalTPGWeightIdMap, EcalTPGWeightIdMapRcd > theEcalTPGWEightIdMap_Token_
edm::ESGetToken< EcalTPGLinearizationConst, EcalTPGLinearizationConstRcd > theEcalTPGLinearization_Token_
edm::ESGetToken< EcalTPGCrystalStatus, EcalTPGCrystalStatusRcd > theEcalTPGCrystalStatus_Token_
void endRun(const edm::Run &, const edm::EventSetup &) override
edm::ESGetToken< EcalTPGSlidingWindow, EcalTPGSlidingWindowRcd > theEcalTPGSlidingWindow_Token_
Definition: Run.h:45