CMS 3D CMS Logo

List of all members | Public Member Functions | Private Member Functions | Private Attributes
CommonModeAnalyzer Class Reference

#include <DPGAnalysis/SiStripTools/plugins/CommonModeAnalyzer.cc>

Inheritance diagram for CommonModeAnalyzer:
edm::EDAnalyzer edm::EDConsumerBase

Public Member Functions

 CommonModeAnalyzer (const edm::ParameterSet &)
 
 ~CommonModeAnalyzer () override
 
- Public Member Functions inherited from edm::EDAnalyzer
void callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func)
 
 EDAnalyzer ()
 
SerialTaskQueueglobalLuminosityBlocksQueue ()
 
SerialTaskQueueglobalRunsQueue ()
 
ModuleDescription const & moduleDescription () const
 
std::string workerType () const
 
 ~EDAnalyzer () override
 
- Public Member Functions inherited from edm::EDConsumerBase
std::vector< ConsumesInfoconsumesInfo () const
 
void convertCurrentProcessAlias (std::string const &processName)
 Convert "@currentProcess" in InputTag process names to the actual current process name. More...
 
 EDConsumerBase ()
 
 EDConsumerBase (EDConsumerBase &&)=default
 
 EDConsumerBase (EDConsumerBase const &)=delete
 
ESProxyIndex const * esGetTokenIndices (edm::Transition iTrans) const
 
std::vector< ESProxyIndex > const & esGetTokenIndicesVector (edm::Transition iTrans) const
 
std::vector< ESRecordIndex > const & esGetTokenRecordIndicesVector (edm::Transition iTrans) const
 
ProductResolverIndexAndSkipBit indexFrom (EDGetToken, BranchType, TypeID const &) const
 
void itemsMayGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const
 
void itemsToGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const
 
std::vector< ProductResolverIndexAndSkipBit > const & itemsToGetFrom (BranchType iType) const
 
void labelsForToken (EDGetToken iToken, Labels &oLabels) const
 
void modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const
 
EDConsumerBaseoperator= (EDConsumerBase &&)=default
 
EDConsumerBase const & operator= (EDConsumerBase const &)=delete
 
bool registeredToConsume (ProductResolverIndex, bool, BranchType) const
 
bool registeredToConsumeMany (TypeID const &, BranchType) const
 
ProductResolverIndexAndSkipBit uncheckedIndexFrom (EDGetToken) const
 
void updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet)
 
void updateLookup (eventsetup::ESRecordsToProxyIndices const &)
 
virtual ~EDConsumerBase () noexcept(false)
 

Private Member Functions

void analyze (const edm::Event &, const edm::EventSetup &) override
 
void beginJob () override
 
void beginRun (const edm::Run &, const edm::EventSetup &) override
 
void endJob () override
 
void endRun (const edm::Run &, const edm::EventSetup &) override
 
void updateDetCabling (const SiStripDetCablingRcd &iRcd)
 

Private Attributes

edm::EDGetTokenT< APVCyclePhaseCollectionm_apvphasecollToken
 
std::vector< TH1D * > m_cmdist
 
std::vector< TProfile ** > m_cmvsbxrun
 
std::vector< TProfile * > m_cmvsdbxincycle
 
std::vector< TProfile ** > m_cmvsorbitrun
 
const SiStripDetCablingm_detCabling = nullptr
 The cabling object. More...
 
edm::ESGetToken< SiStripDetCabling, SiStripDetCablingRcdm_detCablingToken
 
edm::ESWatcher< SiStripDetCablingRcdm_detCablingWatcher
 
edm::EDGetTokenT< DetIdCollectionm_digibadmodulecollectionToken
 
edm::EDGetTokenT< edm::DetSetVector< SiStripRawDigi > > m_digicollectionToken
 
edm::EDGetTokenT< EventWithHistorym_historyProductToken
 
const bool m_ignorebadfedmod
 
const bool m_ignorenotconnected
 
std::vector< std::string > m_labels
 
std::vector< TH1D * > m_napvs
 
int m_nevents
 
std::vector< TH1D * > m_nmodules
 
const std::string m_phasepart
 
RunHistogramManager m_rhm
 
std::vector< DetIdSelectorm_selections
 

Additional Inherited Members

- Public Types inherited from edm::EDAnalyzer
typedef EDAnalyzer ModuleType
 
- Public Types inherited from edm::EDConsumerBase
typedef ProductLabels Labels
 
- Static Public Member Functions inherited from edm::EDAnalyzer
static const std::string & baseType ()
 
static void fillDescriptions (ConfigurationDescriptions &descriptions)
 
static void prevalidate (ConfigurationDescriptions &)
 
static bool wantsGlobalLuminosityBlocks ()
 
static bool wantsGlobalRuns ()
 
static bool wantsInputProcessBlocks ()
 
static bool wantsProcessBlocks ()
 
static bool wantsStreamLuminosityBlocks ()
 
static bool wantsStreamRuns ()
 
- Protected Member Functions inherited from edm::EDConsumerBase
EDGetToken consumes (const TypeToGet &id, edm::InputTag const &tag)
 
template<typename ProductType , BranchType B = InEvent>
EDGetTokenT< ProductType > consumes (edm::InputTag const &tag)
 
template<BranchType B = InEvent>
EDConsumerBaseAdaptor< B > consumes (edm::InputTag tag) noexcept
 
template<BranchType B>
EDGetToken consumes (TypeToGet const &id, edm::InputTag const &tag)
 
ConsumesCollector consumesCollector ()
 Use a ConsumesCollector to gather consumes information from helper functions. More...
 
template<typename ProductType , BranchType B = InEvent>
void consumesMany ()
 
void consumesMany (const TypeToGet &id)
 
template<BranchType B>
void consumesMany (const TypeToGet &id)
 
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event>
auto esConsumes ()
 
template<Transition Tr = Transition::Event>
constexpr auto esConsumes () noexcept
 
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event>
auto esConsumes (ESInputTag const &tag)
 
template<Transition Tr = Transition::Event>
auto esConsumes (ESInputTag tag) noexcept
 
template<Transition Tr = Transition::Event>
ESGetTokenGeneric esConsumes (eventsetup::EventSetupRecordKey const &iRecord, eventsetup::DataKey const &iKey)
 Used with EventSetupRecord::doGet. More...
 
EDGetToken mayConsume (const TypeToGet &id, edm::InputTag const &tag)
 
template<BranchType B>
EDGetToken mayConsume (const TypeToGet &id, edm::InputTag const &tag)
 
template<typename ProductType , BranchType B = InEvent>
EDGetTokenT< ProductType > mayConsume (edm::InputTag const &tag)
 

Detailed Description

Description: <one line="" class="" summary>="">

Implementation: <Notes on="" implementation>="">

Definition at line 65 of file CommonModeAnalyzer.cc.

Constructor & Destructor Documentation

◆ CommonModeAnalyzer()

CommonModeAnalyzer::CommonModeAnalyzer ( const edm::ParameterSet iConfig)
explicit

Definition at line 117 of file CommonModeAnalyzer.cc.

120  m_historyProductToken(consumes<EventWithHistory>(iConfig.getParameter<edm::InputTag>("historyProduct"))),
121  m_apvphasecollToken(consumes<APVCyclePhaseCollection>(iConfig.getParameter<edm::InputTag>("apvPhaseCollection"))),
123  consumes<DetIdCollection>(iConfig.getParameter<edm::InputTag>("badModuleDigiCollection"))),
124  m_phasepart(iConfig.getUntrackedParameter<std::string>("phasePartition", "None")),
125  m_ignorebadfedmod(iConfig.getParameter<bool>("ignoreBadFEDMod")),
126  m_ignorenotconnected(iConfig.getParameter<bool>("ignoreNotConnected")),
127  m_nevents(0),
128  m_selections(),
129  m_labels(),
130  m_cmdist(),
131  m_nmodules(),
132  m_napvs(),
134  m_cmvsbxrun(),
135  m_cmvsorbitrun(),
139  //now do what ever initialization is needed
140 
142 
143  std::vector<edm::ParameterSet> selconfigs = iConfig.getParameter<std::vector<edm::ParameterSet> >("selections");
144 
145  for (std::vector<edm::ParameterSet>::const_iterator selconfig = selconfigs.begin(); selconfig != selconfigs.end();
146  ++selconfig) {
147  std::string label = selconfig->getParameter<std::string>("label");
148  DetIdSelector selection(*selconfig);
149  m_selections.push_back(selection);
150 
151  {
152  std::string hname = label + "_CommonMode";
153  std::string htitle = label + " Common Mode";
154  m_cmdist.push_back(tfserv->make<TH1D>(hname.c_str(), htitle.c_str(), 1024, -0.5, 1024 - 0.5));
155  m_cmdist.back()->GetXaxis()->SetTitle("ADC");
156  }
157  {
158  std::string hname = label + "_nmodules";
159  std::string htitle = label + " Number of Modules with CM value";
160  m_nmodules.push_back(tfserv->make<TH1D>(hname.c_str(), htitle.c_str(), 20000, -0.5, 20000 - 0.5));
161  m_nmodules.back()->GetXaxis()->SetTitle("#modules");
162  }
163  {
164  std::string hname = label + "_napvs";
165  std::string htitle = label + " Number of APVs with CM value";
166  m_napvs.push_back(tfserv->make<TH1D>(hname.c_str(), htitle.c_str(), 2000, -0.5, 80000 - 0.5));
167  m_napvs.back()->GetXaxis()->SetTitle("#apvs");
168  }
169  {
170  std::string hname = label + "_CMvsDBXinCycle";
171  std::string htitle = label + " Common Mode vs DBX in Cycle";
172  m_cmvsdbxincycle.push_back(tfserv->make<TProfile>(hname.c_str(), htitle.c_str(), 1000, -0.5, 1000 - 0.5));
173  m_cmvsdbxincycle.back()->GetXaxis()->SetTitle("DBX in cycle");
174  m_cmvsdbxincycle.back()->GetYaxis()->SetTitle("CM (ADC counts)");
175  }
176  {
177  std::string hname = label + "_CMvsBX";
178  std::string htitle = label + " Common Mode vs BX";
179  m_cmvsbxrun.push_back(m_rhm.makeTProfile(hname.c_str(), htitle.c_str(), 3565, -0.5, 3565 - 0.5));
180  }
181  {
182  std::string hname = label + "_CMvsOrbit";
183  std::string htitle = label + " Common Mode vs Orbit";
184  m_cmvsorbitrun.push_back(m_rhm.makeTProfile(hname.c_str(), htitle.c_str(), 4 * 500, 0, 500 * 262144));
185  }
186  }
187 }

References edm::ParameterSet::getParameter(), label, m_cmdist, m_cmvsbxrun, m_cmvsdbxincycle, m_cmvsorbitrun, m_napvs, m_nmodules, m_rhm, m_selections, TFileService::make(), RunHistogramManager::makeTProfile(), corrVsCorr::selection, and AlCaHLTBitMon_QueryRunRegistry::string.

◆ ~CommonModeAnalyzer()

CommonModeAnalyzer::~CommonModeAnalyzer ( )
override

Definition at line 189 of file CommonModeAnalyzer.cc.

189  {
190  // do anything here that needs to be done at desctruction time
191  // (e.g. close files, deallocate resources etc.)
192 }

Member Function Documentation

◆ analyze()

void CommonModeAnalyzer::analyze ( const edm::Event iEvent,
const edm::EventSetup iSetup 
)
overrideprivatevirtual

Implements edm::EDAnalyzer.

Definition at line 199 of file CommonModeAnalyzer.cc.

199  {
200  using namespace edm;
201 
202  m_detCablingWatcher.check(iSetup);
203 
204  m_nevents++;
205 
207  iEvent.getByToken(m_historyProductToken, he);
208 
210  iEvent.getByToken(m_apvphasecollToken, apvphase);
211 
212  Handle<DetIdCollection> badmodules;
213  iEvent.getByToken(m_digibadmodulecollectionToken, badmodules);
214 
215  int thephase = APVCyclePhaseCollection::invalid;
216  if (apvphase.isValid() && !apvphase.failedToGet()) {
217  thephase = apvphase->getPhase(m_phasepart);
218  }
219  bool isphaseok = (thephase != APVCyclePhaseCollection::invalid && thephase != APVCyclePhaseCollection::multiphase &&
221 
223  iEvent.getByToken(m_digicollectionToken, digis);
224 
225  // loop on detector with digis
226 
227  std::vector<int> nmodules(m_selections.size(), 0);
228  std::vector<int> napvs(m_selections.size(), 0);
229 
230  for (edm::DetSetVector<SiStripRawDigi>::const_iterator mod = digis->begin(); mod != digis->end(); mod++) {
231  std::vector<const FedChannelConnection*> conns = m_detCabling->getConnections(mod->detId());
232 
233  if (!m_ignorebadfedmod || std::find(badmodules->begin(), badmodules->end(), mod->detId()) == badmodules->end()) {
234  for (unsigned int isel = 0; isel < m_selections.size(); ++isel) {
235  if (m_selections[isel].isSelected(mod->detId())) {
236  unsigned int strip = 0;
237  ++nmodules[isel];
238  for (edm::DetSet<SiStripRawDigi>::const_iterator digi = mod->begin(); digi != mod->end(); digi++, strip++) {
239  LogDebug("StripNumber") << "Strip number " << strip;
240  if (!m_ignorenotconnected ||
241  ((conns.size() > strip / 2) && conns[strip / 2] && conns[strip / 2]->isConnected())) {
242  ++napvs[isel];
243  m_cmdist[isel]->Fill(digi->adc());
244  if (isphaseok)
245  m_cmvsdbxincycle[isel]->Fill(he->deltaBXinCycle(thephase), digi->adc());
246  if (m_cmvsbxrun[isel] && *(m_cmvsbxrun[isel]))
247  (*(m_cmvsbxrun[isel]))->Fill(iEvent.bunchCrossing(), digi->adc());
248  if (m_cmvsorbitrun[isel] && *(m_cmvsorbitrun[isel]))
249  (*(m_cmvsorbitrun[isel]))->Fill(iEvent.orbitNumber(), digi->adc());
250  } else if (digi->adc() > 0) {
251  edm::LogWarning("NonZeroCMWhenDisconnected")
252  << " Non zero CM in " << mod->detId() << " APV " << strip << " with " << conns.size()
253  << " connections and connection pointer" << conns[strip / 2];
254  }
255  }
256  }
257  }
258  }
259  }
260  for (unsigned int isel = 0; isel < m_selections.size(); ++isel) {
261  m_nmodules[isel]->Fill(nmodules[isel]);
262  m_napvs[isel]->Fill(napvs[isel]);
263  }
264 }

References edm::EDCollection< T >::begin(), edm::ESWatcher< T >::check(), edm::EDCollection< T >::end(), edm::HandleBase::failedToGet(), HcalObjRepresent::Fill(), spr::find(), SiStripDetCabling::getConnections(), APVCyclePhaseCollection::getPhase(), hcalSimParameters_cfi::he, iEvent, APVCyclePhaseCollection::invalid, edm::HandleBase::isValid(), LogDebug, m_apvphasecollToken, m_cmdist, m_cmvsbxrun, m_cmvsdbxincycle, m_cmvsorbitrun, m_detCabling, m_detCablingWatcher, m_digibadmodulecollectionToken, m_digicollectionToken, m_historyProductToken, m_ignorebadfedmod, m_ignorenotconnected, m_napvs, m_nevents, m_nmodules, m_phasepart, m_selections, mod(), APVCyclePhaseCollection::multiphase, APVCyclePhaseCollection::nopartition, and digitizers_cfi::strip.

◆ beginJob()

void CommonModeAnalyzer::beginJob ( void  )
overrideprivatevirtual

Reimplemented from edm::EDAnalyzer.

Definition at line 288 of file CommonModeAnalyzer.cc.

288 {}

◆ beginRun()

void CommonModeAnalyzer::beginRun ( const edm::Run iRun,
const edm::EventSetup  
)
overrideprivatevirtual

Reimplemented from edm::EDAnalyzer.

Definition at line 266 of file CommonModeAnalyzer.cc.

266  {
267  m_rhm.beginRun(iRun);
268 
269  for (std::vector<TProfile**>::const_iterator cmvsbx = m_cmvsbxrun.begin(); cmvsbx != m_cmvsbxrun.end(); ++cmvsbx) {
270  if (*cmvsbx && *(*cmvsbx)) {
271  (*(*cmvsbx))->GetXaxis()->SetTitle("BX");
272  (*(*cmvsbx))->GetYaxis()->SetTitle("CM (ADC counts)");
273  }
274  }
275  for (std::vector<TProfile**>::const_iterator cmvsorbit = m_cmvsorbitrun.begin(); cmvsorbit != m_cmvsorbitrun.end();
276  ++cmvsorbit) {
277  if (*cmvsorbit && *(*cmvsorbit)) {
278  (*(*cmvsorbit))->GetXaxis()->SetTitle("orbit");
279  (*(*cmvsorbit))->GetYaxis()->SetTitle("CM (ADC counts)");
280  (*(*cmvsorbit))->SetCanExtend(TH1::kXaxis);
281  }
282  }
283 }

References RunHistogramManager::beginRun(), m_cmvsbxrun, m_cmvsorbitrun, and m_rhm.

◆ endJob()

void CommonModeAnalyzer::endJob ( void  )
overrideprivatevirtual

Reimplemented from edm::EDAnalyzer.

Definition at line 291 of file CommonModeAnalyzer.cc.

291 { edm::LogInfo("EndOfJob") << m_nevents << " analyzed events"; }

References m_nevents.

◆ endRun()

void CommonModeAnalyzer::endRun ( const edm::Run iRun,
const edm::EventSetup  
)
overrideprivatevirtual

Reimplemented from edm::EDAnalyzer.

Definition at line 285 of file CommonModeAnalyzer.cc.

285 {}

◆ updateDetCabling()

void CommonModeAnalyzer::updateDetCabling ( const SiStripDetCablingRcd iRcd)
private

Member Data Documentation

◆ m_apvphasecollToken

edm::EDGetTokenT<APVCyclePhaseCollection> CommonModeAnalyzer::m_apvphasecollToken
private

Definition at line 83 of file CommonModeAnalyzer.cc.

Referenced by analyze().

◆ m_cmdist

std::vector<TH1D*> CommonModeAnalyzer::m_cmdist
private

Definition at line 92 of file CommonModeAnalyzer.cc.

Referenced by analyze(), and CommonModeAnalyzer().

◆ m_cmvsbxrun

std::vector<TProfile**> CommonModeAnalyzer::m_cmvsbxrun
private

Definition at line 96 of file CommonModeAnalyzer.cc.

Referenced by analyze(), beginRun(), and CommonModeAnalyzer().

◆ m_cmvsdbxincycle

std::vector<TProfile*> CommonModeAnalyzer::m_cmvsdbxincycle
private

Definition at line 95 of file CommonModeAnalyzer.cc.

Referenced by analyze(), and CommonModeAnalyzer().

◆ m_cmvsorbitrun

std::vector<TProfile**> CommonModeAnalyzer::m_cmvsorbitrun
private

Definition at line 97 of file CommonModeAnalyzer.cc.

Referenced by analyze(), beginRun(), and CommonModeAnalyzer().

◆ m_detCabling

const SiStripDetCabling* CommonModeAnalyzer::m_detCabling = nullptr
private

The cabling object.

Definition at line 103 of file CommonModeAnalyzer.cc.

Referenced by analyze(), and updateDetCabling().

◆ m_detCablingToken

edm::ESGetToken<SiStripDetCabling, SiStripDetCablingRcd> CommonModeAnalyzer::m_detCablingToken
private

Definition at line 102 of file CommonModeAnalyzer.cc.

Referenced by updateDetCabling().

◆ m_detCablingWatcher

edm::ESWatcher<SiStripDetCablingRcd> CommonModeAnalyzer::m_detCablingWatcher
private

Definition at line 101 of file CommonModeAnalyzer.cc.

Referenced by analyze().

◆ m_digibadmodulecollectionToken

edm::EDGetTokenT<DetIdCollection> CommonModeAnalyzer::m_digibadmodulecollectionToken
private

Definition at line 84 of file CommonModeAnalyzer.cc.

Referenced by analyze().

◆ m_digicollectionToken

edm::EDGetTokenT<edm::DetSetVector<SiStripRawDigi> > CommonModeAnalyzer::m_digicollectionToken
private

Definition at line 81 of file CommonModeAnalyzer.cc.

Referenced by analyze().

◆ m_historyProductToken

edm::EDGetTokenT<EventWithHistory> CommonModeAnalyzer::m_historyProductToken
private

Definition at line 82 of file CommonModeAnalyzer.cc.

Referenced by analyze().

◆ m_ignorebadfedmod

const bool CommonModeAnalyzer::m_ignorebadfedmod
private

Definition at line 86 of file CommonModeAnalyzer.cc.

Referenced by analyze().

◆ m_ignorenotconnected

const bool CommonModeAnalyzer::m_ignorenotconnected
private

Definition at line 87 of file CommonModeAnalyzer.cc.

Referenced by analyze().

◆ m_labels

std::vector<std::string> CommonModeAnalyzer::m_labels
private

Definition at line 91 of file CommonModeAnalyzer.cc.

◆ m_napvs

std::vector<TH1D*> CommonModeAnalyzer::m_napvs
private

Definition at line 94 of file CommonModeAnalyzer.cc.

Referenced by analyze(), and CommonModeAnalyzer().

◆ m_nevents

int CommonModeAnalyzer::m_nevents
private

Definition at line 88 of file CommonModeAnalyzer.cc.

Referenced by analyze(), and endJob().

◆ m_nmodules

std::vector<TH1D*> CommonModeAnalyzer::m_nmodules
private

Definition at line 93 of file CommonModeAnalyzer.cc.

Referenced by analyze(), and CommonModeAnalyzer().

◆ m_phasepart

const std::string CommonModeAnalyzer::m_phasepart
private

Definition at line 85 of file CommonModeAnalyzer.cc.

Referenced by analyze().

◆ m_rhm

RunHistogramManager CommonModeAnalyzer::m_rhm
private

Definition at line 99 of file CommonModeAnalyzer.cc.

Referenced by beginRun(), and CommonModeAnalyzer().

◆ m_selections

std::vector<DetIdSelector> CommonModeAnalyzer::m_selections
private

Definition at line 90 of file CommonModeAnalyzer.cc.

Referenced by analyze(), and CommonModeAnalyzer().

edm::ESWatcher::check
bool check(const edm::EventSetup &iSetup)
Definition: ESWatcher.h:52
edm::DetSetVector< SiStripRawDigi >
edm::EDCollection::begin
const_iterator begin() const
Definition: EDCollection.h:117
CommonModeAnalyzer::m_historyProductToken
edm::EDGetTokenT< EventWithHistory > m_historyProductToken
Definition: CommonModeAnalyzer.cc:82
APVCyclePhaseCollection::multiphase
Definition: APVCyclePhaseCollection.h:21
edm
HLT enums.
Definition: AlignableModifier.h:19
APVCyclePhaseCollection::invalid
Definition: APVCyclePhaseCollection.h:21
digitizers_cfi.strip
strip
Definition: digitizers_cfi.py:19
mod
T mod(const T &a, const T &b)
Definition: ecalDccMap.h:4
edm::EDConsumerBase::consumesCollector
ConsumesCollector consumesCollector()
Use a ConsumesCollector to gather consumes information from helper functions.
Definition: EDConsumerBase.cc:46
CommonModeAnalyzer::m_labels
std::vector< std::string > m_labels
Definition: CommonModeAnalyzer.cc:91
edm::ParameterSet::getUntrackedParameter
T getUntrackedParameter(std::string const &, T const &) const
CommonModeAnalyzer::m_cmvsbxrun
std::vector< TProfile ** > m_cmvsbxrun
Definition: CommonModeAnalyzer.cc:96
CommonModeAnalyzer::m_selections
std::vector< DetIdSelector > m_selections
Definition: CommonModeAnalyzer.cc:90
edm::LogInfo
Log< level::Info, false > LogInfo
Definition: MessageLogger.h:125
CommonModeAnalyzer::m_digibadmodulecollectionToken
edm::EDGetTokenT< DetIdCollection > m_digibadmodulecollectionToken
Definition: CommonModeAnalyzer.cc:84
spr::find
void find(edm::Handle< EcalRecHitCollection > &hits, DetId thisDet, std::vector< EcalRecHitCollection::const_iterator > &hit, bool debug=false)
Definition: FindCaloHit.cc:19
edm::Handle
Definition: AssociativeIterator.h:50
CommonModeAnalyzer::m_phasepart
const std::string m_phasepart
Definition: CommonModeAnalyzer.cc:85
edm::LogWarning
Log< level::Warning, false > LogWarning
Definition: MessageLogger.h:122
CommonModeAnalyzer::updateDetCabling
void updateDetCabling(const SiStripDetCablingRcd &iRcd)
Definition: CommonModeAnalyzer.cc:293
corrVsCorr.selection
selection
main part
Definition: corrVsCorr.py:100
CommonModeAnalyzer::m_rhm
RunHistogramManager m_rhm
Definition: CommonModeAnalyzer.cc:99
edm::eventsetup::DependentRecordImplementation::get
ProductT const & get(ESGetToken< ProductT, DepRecordT > const &iToken) const
Definition: DependentRecordImplementation.h:103
CommonModeAnalyzer::m_napvs
std::vector< TH1D * > m_napvs
Definition: CommonModeAnalyzer.cc:94
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
CommonModeAnalyzer::m_cmvsorbitrun
std::vector< TProfile ** > m_cmvsorbitrun
Definition: CommonModeAnalyzer.cc:97
CommonModeAnalyzer::m_nmodules
std::vector< TH1D * > m_nmodules
Definition: CommonModeAnalyzer.cc:93
edm::HandleBase::failedToGet
bool failedToGet() const
Definition: HandleBase.h:72
LogDebug
#define LogDebug(id)
Definition: MessageLogger.h:223
edm::DetSetVector::const_iterator
collection_type::const_iterator const_iterator
Definition: DetSetVector.h:102
RunHistogramManager::beginRun
void beginRun(const edm::Run &iRun)
Definition: RunHistogramManager.cc:101
edm::Service< TFileService >
iEvent
int iEvent
Definition: GenABIO.cc:224
CommonModeAnalyzer::m_detCabling
const SiStripDetCabling * m_detCabling
The cabling object.
Definition: CommonModeAnalyzer.cc:103
CommonModeAnalyzer::m_nevents
int m_nevents
Definition: CommonModeAnalyzer.cc:88
CommonModeAnalyzer::m_cmdist
std::vector< TH1D * > m_cmdist
Definition: CommonModeAnalyzer.cc:92
HcalObjRepresent::Fill
void Fill(HcalDetId &id, double val, std::vector< TH2F > &depth)
Definition: HcalObjRepresent.h:1053
CommonModeAnalyzer::m_cmvsdbxincycle
std::vector< TProfile * > m_cmvsdbxincycle
Definition: CommonModeAnalyzer.cc:95
CommonModeAnalyzer::m_digicollectionToken
edm::EDGetTokenT< edm::DetSetVector< SiStripRawDigi > > m_digicollectionToken
Definition: CommonModeAnalyzer.cc:81
CommonModeAnalyzer::m_detCablingToken
edm::ESGetToken< SiStripDetCabling, SiStripDetCablingRcd > m_detCablingToken
Definition: CommonModeAnalyzer.cc:102
CommonModeAnalyzer::m_detCablingWatcher
edm::ESWatcher< SiStripDetCablingRcd > m_detCablingWatcher
Definition: CommonModeAnalyzer.cc:101
CommonModeAnalyzer::m_ignorebadfedmod
const bool m_ignorebadfedmod
Definition: CommonModeAnalyzer.cc:86
hcalSimParameters_cfi.he
he
Definition: hcalSimParameters_cfi.py:79
APVCyclePhaseCollection::getPhase
const int getPhase(const std::string partition) const
Definition: APVCyclePhaseCollection.cc:5
edm::ParameterSet::getParameter
T getParameter(std::string const &) const
Definition: ParameterSet.h:303
edm::EDConsumerBase::esConsumes
auto esConsumes()
Definition: EDConsumerBase.h:200
CommonModeAnalyzer::m_apvphasecollToken
edm::EDGetTokenT< APVCyclePhaseCollection > m_apvphasecollToken
Definition: CommonModeAnalyzer.cc:83
CommonModeAnalyzer::m_ignorenotconnected
const bool m_ignorenotconnected
Definition: CommonModeAnalyzer.cc:87
edm::EDConsumerBase::consumes
EDGetTokenT< ProductType > consumes(edm::InputTag const &tag)
Definition: EDConsumerBase.h:153
APVCyclePhaseCollection::nopartition
Definition: APVCyclePhaseCollection.h:21
edm::HandleBase::isValid
bool isValid() const
Definition: HandleBase.h:70
edm::InputTag
Definition: InputTag.h:15
edm::EDCollection::end
const_iterator end() const
Definition: EDCollection.h:122
label
const char * label
Definition: PFTauDecayModeTools.cc:11
SiStripDetCabling::getConnections
const std::vector< const FedChannelConnection * > & getConnections(uint32_t det_id) const
Definition: SiStripDetCabling.cc:161
DetIdSelector
Definition: DetIdSelector.h:12
TFileService::make
T * make(const Args &... args) const
make new ROOT object
Definition: TFileService.h:64
RunHistogramManager::makeTProfile
TProfile ** makeTProfile(const char *name, const char *title, const unsigned int nbinx, const double xmin, const double xmax)
Definition: RunHistogramManager.cc:52
edm::DetSet::const_iterator
collection_type::const_iterator const_iterator
Definition: DetSet.h:31