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
EcalTPGLutGroupRcd.h
EcalEBTrigPrimProducer::algo_
std::unique_ptr< EcalEBTrigPrimTestAlgo > algo_
Definition: EcalEBTrigPrimProducer.h:59
Handle.h
EcalEBTrigPrimProducer::~EcalEBTrigPrimProducer
~EcalEBTrigPrimProducer() override
Definition: EcalEBTrigPrimProducer.cc:145
EcalEBTrigPrimProducer::cacheID_
unsigned long long cacheID_
Definition: EcalEBTrigPrimProducer.h:86
EcalEBTrigPrimProducer::endRun
void endRun(const edm::Run &, const edm::EventSetup &) override
Definition: EcalEBTrigPrimProducer.cc:143
EcalTPGLinearizationConstRcd.h
edm::Run
Definition: Run.h:45
EcalTPGSpikeRcd.h
edm::EDGetTokenT< EBDigiCollection >
EcalEBTrigPrimProducer::theEcalTPGLutGroup_Token_
edm::ESGetToken< EcalTPGLutGroup, EcalTPGLutGroupRcd > theEcalTPGLutGroup_Token_
Definition: EcalEBTrigPrimProducer.h:74
EDProducer.h
EcalTPGCrystalStatusRcd.h
EcalEBTrigPrimProducer
Definition: EcalEBTrigPrimProducer.h:48
EcalEBTrigPrimProducer::famos_
bool famos_
Definition: EcalEBTrigPrimProducer.h:63
EcalEBTrigPrimProducer::theEcalTPGWEightGroup_Token_
edm::ESGetToken< EcalTPGWeightGroup, EcalTPGWeightGroupRcd > theEcalTPGWEightGroup_Token_
Definition: EcalEBTrigPrimProducer.h:72
EcalEBTrigPrimProducer::produce
void produce(edm::Event &e, const edm::EventSetup &c) override
Definition: EcalEBTrigPrimProducer.cc:148
ESGetToken.h
singleTopDQM_cfi.setup
setup
Definition: singleTopDQM_cfi.py:37
EcalEBTrigPrimProducer::tcpFormat_
bool tcpFormat_
Definition: EcalEBTrigPrimProducer.h:61
EcalEBTrigPrimTestAlgo
Definition: EcalEBTrigPrimTestAlgo.h:37
EcalEBTrigPrimProducer::theEcalTPGPedestals_Token_
edm::ESGetToken< EcalTPGPedestals, EcalTPGPedestalsRcd > theEcalTPGPedestals_Token_
Definition: EcalEBTrigPrimProducer.h:69
EcalTPGSpike.h
EcalTPGLutIdMap.h
EcalEBTrigPrimProducer::theEcalTPGCrystalStatus_Token_
edm::ESGetToken< EcalTPGCrystalStatus, EcalTPGCrystalStatusRcd > theEcalTPGCrystalStatus_Token_
Definition: EcalEBTrigPrimProducer.h:70
EcalEBTrigPrimProducer::theEcalTPGLinearization_Token_
edm::ESGetToken< EcalTPGLinearizationConst, EcalTPGLinearizationConstRcd > theEcalTPGLinearization_Token_
Definition: EcalEBTrigPrimProducer.h:68
EcalDigiCollections.h
EcalEBTrigPrimProducer::binOfMaximum_
int binOfMaximum_
Definition: EcalEBTrigPrimProducer.h:82
EcalEBTrigPrimProducer::theEcalTPGWEightIdMap_Token_
edm::ESGetToken< EcalTPGWeightIdMap, EcalTPGWeightIdMapRcd > theEcalTPGWEightIdMap_Token_
Definition: EcalEBTrigPrimProducer.h:71
EcalEBTrigPrimProducer::fillBinOfMaximumFromHistory_
bool fillBinOfMaximumFromHistory_
Definition: EcalEBTrigPrimProducer.h:83
EcalEBTrigPrimProducer::barrelOnly_
bool barrelOnly_
Definition: EcalEBTrigPrimProducer.h:60
EcalEBTrigPrimProducer::beginRun
void beginRun(const edm::Run &run, const edm::EventSetup &es) override
Definition: EcalEBTrigPrimProducer.cc:78
EcalTPGWeightIdMapRcd.h
EcalTPGSlidingWindowRcd.h
EDGetToken.h
CaloGeometryRecord.h
EcalTPGWeightGroup.h
EcalTPGLutGroup.h
edm::ParameterSet
Definition: ParameterSet.h:47
Event.h
EcalTPGLinearizationConst.h
edm::stream::EDProducer
Definition: EDProducer.h:38
EcalTPGPedestals.h
EcalEBTrigPrimProducer::debug_
bool debug_
Definition: EcalEBTrigPrimProducer.h:62
edm::EventSetup
Definition: EventSetup.h:58
EcalEBTrigPrimProducer::theEcalTPGSlidingWindow_Token_
edm::ESGetToken< EcalTPGSlidingWindow, EcalTPGSlidingWindowRcd > theEcalTPGSlidingWindow_Token_
Definition: EcalEBTrigPrimProducer.h:73
EcalTPGTowerStatus.h
edm::ESGetToken
Definition: EventSetup.h:48
EcalEBTrigPrimProducer::theEcalTPGTowerStatus_Token_
edm::ESGetToken< EcalTPGTowerStatus, EcalTPGTowerStatusRcd > theEcalTPGTowerStatus_Token_
Definition: EcalEBTrigPrimProducer.h:76
EcalTrigTowerConstituentsMap.h
writedatasetfile.run
run
Definition: writedatasetfile.py:27
EcalTPGSlidingWindow.h
EcalEBTrigPrimProducer::nSamples_
int nSamples_
Definition: EcalEBTrigPrimProducer.h:64
CaloGeometry.h
EcalTPGLutIdMapRcd.h
EventSetup.h
EcalEBTrigPrimProducer::theGeometryToken_
edm::ESGetToken< CaloGeometry, CaloGeometryRecord > theGeometryToken_
Definition: EcalEBTrigPrimProducer.h:80
EcalTPGCrystalStatus.h
EcalTPGTowerStatusRcd.h
EcalTPGWeightGroupRcd.h
EcalEBTrigPrimProducer::theEcalTPGLutIdMap_Token_
edm::ESGetToken< EcalTPGLutIdMap, EcalTPGLutIdMapRcd > theEcalTPGLutIdMap_Token_
Definition: EcalEBTrigPrimProducer.h:75
EcalTPGPedestalsRcd.h
ParameterSet.h
EcalEBTrigPrimProducer::theEcalTPGSpike_Token_
edm::ESGetToken< EcalTPGSpike, EcalTPGSpikeRcd > theEcalTPGSpike_Token_
Definition: EcalEBTrigPrimProducer.h:77
EcalEBTrigPrimProducer::eTTmapToken_
edm::ESGetToken< EcalTrigTowerConstituentsMap, IdealGeometryRecord > eTTmapToken_
Definition: EcalEBTrigPrimProducer.h:79
c
auto & c
Definition: CAHitNtupletGeneratorKernelsImpl.h:46
EcalEBTrigPrimProducer::EcalEBTrigPrimProducer
EcalEBTrigPrimProducer(const edm::ParameterSet &conf)
Definition: EcalEBTrigPrimProducer.cc:47
edm::Event
Definition: Event.h:73
EcalEBTrigPrimProducer::getRecords
unsigned long long getRecords(edm::EventSetup const &setup)
Definition: EcalEBTrigPrimProducer.cc:95
EcalEBTrigPrimProducer::nEvent_
int nEvent_
Definition: EcalEBTrigPrimProducer.h:65
EcalTPGWeightIdMap.h
EcalEBTrigPrimProducer::tokenEBdigi_
edm::EDGetTokenT< EBDigiCollection > tokenEBdigi_
Definition: EcalEBTrigPrimProducer.h:67
MillePedeFileConverter_cfg.e
e
Definition: MillePedeFileConverter_cfg.py:37