CMS 3D CMS Logo

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

#include <DPGAnalysis/SiStripTools/src/MultiplicityTimeCorrelations.cc>

Inheritance diagram for MultiplicityTimeCorrelations:
edm::EDAnalyzer edm::EDConsumerBase

Public Member Functions

 MultiplicityTimeCorrelations (const edm::ParameterSet &)
 
 ~MultiplicityTimeCorrelations () 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
 
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
 

Private Attributes

edm::EDGetTokenT< APVCyclePhaseCollection_apvphasecollToken
 
std::map< unsigned int, int > _binmax
 
std::vector< int > _dbxbins
 
std::map< int, std::map< unsigned int, TH1F * > > _dbxhistos
 
DigiBXCorrHistogramMaker< EventWithHistory_digibxcorrhmevent
 
EventWithHistoryFilter _evfilter
 
edm::InputTag _hecollection
 
edm::EDGetTokenT< EventWithHistory_hecollectionToken
 
int _highorbit
 
int _loworbit
 
int _mindbx
 
int _mintrpltdbx
 
edm::EDGetTokenT< std::map< unsigned int, int > > _multiplicityMapToken
 
std::map< unsigned int, std::string > _subdets
 
SiStripTKNumbers _trnumb
 

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 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>
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<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event>
auto esConsumes (ESInputTag const &tag)
 
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 60 of file MultiplicityTimeCorrelations.cc.

Constructor & Destructor Documentation

◆ MultiplicityTimeCorrelations()

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

Definition at line 114 of file MultiplicityTimeCorrelations.cc.

116  _evfilter(),
117  _hecollection(iConfig.getParameter<edm::InputTag>("historyProduct")),
118  _hecollectionToken(consumes<EventWithHistory>(_hecollection)),
119  _apvphasecollToken(consumes<APVCyclePhaseCollection>(iConfig.getParameter<edm::InputTag>("apvPhaseCollection"))),
121  mayConsume<std::map<unsigned int, int> >(iConfig.getParameter<edm::InputTag>("multiplicityMap"))),
122  _subdets(),
123  _binmax(),
124  _loworbit(iConfig.getUntrackedParameter<int>("lowedgeOrbit")),
125  _highorbit(iConfig.getUntrackedParameter<int>("highedgeOrbit")),
126  _mindbx(iConfig.getUntrackedParameter<int>("minDBX")),
127  _mintrpltdbx(iConfig.getUntrackedParameter<int>("minTripletDBX")),
128  _trnumb(),
129  _dbxbins(iConfig.getUntrackedParameter<std::vector<int> >("dbxBins")) {
130  //now do what ever initialization is needed
131 
132  // configure the filter
133 
134  edm::ParameterSet filterConfig;
135  filterConfig.addUntrackedParameter<edm::InputTag>("historyProduct", _hecollection);
136  if (_mindbx > 0) {
137  std::vector<int> dbxrange;
138  dbxrange.push_back(_mindbx + 1);
139  dbxrange.push_back(-1);
140  filterConfig.addUntrackedParameter<std::vector<int> >("dbxRange", dbxrange);
141  }
142  if (_mintrpltdbx > 0) {
143  std::vector<int> dbxtrpltrange;
144  dbxtrpltrange.push_back(_mintrpltdbx + 1);
145  dbxtrpltrange.push_back(-1);
146  filterConfig.addUntrackedParameter<std::vector<int> >("dbxTripletRange", dbxtrpltrange);
147  }
148 
149  _evfilter.set(filterConfig, consumesCollector());
150 
151  //
152 
154 
155  // create map of labels
156 
157  std::vector<edm::ParameterSet> wantedsubds(
158  iConfig.getUntrackedParameter<std::vector<edm::ParameterSet> >("wantedSubDets"));
159 
160  for (std::vector<edm::ParameterSet>::iterator ps = wantedsubds.begin(); ps != wantedsubds.end(); ++ps) {
161  _subdets[ps->getParameter<unsigned int>("detSelection")] = ps->getParameter<std::string>("detLabel");
162  _binmax[ps->getParameter<unsigned int>("detSelection")] = ps->getParameter<int>("binMax");
163  }
164  std::map<int, std::string> labels;
165 
166  for (std::map<unsigned int, std::string>::const_iterator subd = _subdets.begin(); subd != _subdets.end(); ++subd) {
167  labels[int(subd->first)] = subd->second;
168  }
169 
170  //
171 
172  _digibxcorrhmevent.book("EventProcs", labels);
173 
174  TFileDirectory subdbxbin = tfserv->mkdir("DBXDebugging");
175 
176  for (std::vector<int>::const_iterator bin = _dbxbins.begin(); bin != _dbxbins.end(); bin++) {
177  char hname[200];
178  char htitle[200];
179 
180  edm::LogInfo("DBXHistosBinMaxValue") << "Setting bin max values";
181 
182  for (std::map<unsigned int, std::string>::const_iterator subd = _subdets.begin(); subd != _subdets.end(); ++subd) {
183  if (_binmax.find(subd->first) == _binmax.end()) {
184  edm::LogVerbatim("DBXHistosNotConfiguredBinMax")
185  << "Bin max for " << subd->second << " not configured: " << _trnumb.nstrips(int(subd->first)) << " used";
186  _binmax[subd->first] = _trnumb.nstrips(int(subd->first));
187  }
188 
189  edm::LogVerbatim("DBXHistosBinMaxValue") << "Bin max for " << subd->second << " is " << _binmax[subd->first];
190 
191  sprintf(hname, "sumn%sdigi_%d", subd->second.c_str(), *bin);
192  sprintf(htitle, "%s digi multiplicity at DBX = %d", subd->second.c_str(), *bin);
193  LogDebug("DBXDebug") << "creating histogram " << hname << " " << htitle;
194  _dbxhistos[*bin][subd->first] =
195  subdbxbin.make<TH1F>(hname, htitle, 1000, 0., _binmax[subd->first] / (20 * 1000) * 1000);
196  _dbxhistos[*bin][subd->first]->GetXaxis()->SetTitle("Number of Digis");
197  }
198  /*
199  sprintf(hname,"sumntkdigi_%d",*bin);
200  sprintf(htitle,"TK digi multiplicity at DBX = %d",*bin);
201  LogDebug("DBXDebug") << "creating histogram " << hname << " " << htitle;
202  _dbxtkhistos[*bin]= subdbxbin.make<TH1F>(hname,htitle,1000,0.,_trnumb.nstrips(0)/(20*1000)*1000);
203  _dbxtkhistos[*bin]->GetXaxis()->SetTitle("Number of Digis");
204 
205  sprintf(hname,"sumntibdigi_%d",*bin);
206  sprintf(htitle,"TIB digi multiplicity at DBX = %d",*bin);
207  LogDebug("DBXDebug") << "creating histogram " << hname << " " << htitle;
208  _dbxtibhistos[*bin]= subdbxbin.make<TH1F>(hname,htitle,1000,0.,_trnumb.nstrips(SiStripDetId::TIB)/(20*1000)*1000);
209  _dbxtibhistos[*bin]->GetXaxis()->SetTitle("Number of Digis");
210 
211  sprintf(hname,"sumntiddigi_%d",*bin);
212  sprintf(htitle,"TID digi multiplicity at DBX = %d",*bin);
213  LogDebug("DBXDebug") << "creating histogram " << hname << " " << htitle;
214  _dbxtidhistos[*bin]= subdbxbin.make<TH1F>(hname,htitle,1000,0.,_trnumb.nstrips(SiStripDetId::TID)/(20*1000)*1000);
215  _dbxtidhistos[*bin]->GetXaxis()->SetTitle("Number of Digis");
216 
217  sprintf(hname,"sumntobdigi_%d",*bin);
218  sprintf(htitle,"TOB digi multiplicity at DBX = %d",*bin);
219  LogDebug("DBXDebug") << "creating histogram " << hname << " " << htitle;
220  _dbxtobhistos[*bin]= subdbxbin.make<TH1F>(hname,htitle,1000,0.,_trnumb.nstrips(SiStripDetId::TOB)/(20*1000)*1000);
221  _dbxtobhistos[*bin]->GetXaxis()->SetTitle("Number of Digis");
222 
223  sprintf(hname,"sumntecdigi_%d",*bin);
224  sprintf(htitle,"TEC digi multiplicity at DBX = %d",*bin);
225  LogDebug("DBXDebug") << "creating histogram " << hname << " " << htitle;
226  _dbxtechistos[*bin]= subdbxbin.make<TH1F>(hname,htitle,1000,0.,_trnumb.nstrips(SiStripDetId::TEC)/(20*1000)*1000);
227  _dbxtechistos[*bin]->GetXaxis()->SetTitle("Number of Digis");
228  */
229  }
230 }

References _binmax, _dbxbins, _dbxhistos, _digibxcorrhmevent, _evfilter, _hecollection, _mindbx, _mintrpltdbx, _subdets, _trnumb, edm::ParameterSet::addUntrackedParameter(), newFWLiteAna::bin, DigiBXCorrHistogramMaker< T >::book(), edm::EDConsumerBase::consumesCollector(), edm::ParameterSet::getUntrackedParameter(), createfilelist::int, SummaryClient_cfi::labels, LogDebug, TFileDirectory::make(), TFileService::mkdir(), SiStripTKNumbers::nstrips(), EventWithHistoryFilter::set(), and AlCaHLTBitMon_QueryRunRegistry::string.

◆ ~MultiplicityTimeCorrelations()

MultiplicityTimeCorrelations::~MultiplicityTimeCorrelations ( )
override

Definition at line 232 of file MultiplicityTimeCorrelations.cc.

232  {
233  // do anything here that needs to be done at desctruction time
234  // (e.g. close files, deallocate resources etc.)
235 }

Member Function Documentation

◆ analyze()

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

Implements edm::EDAnalyzer.

Definition at line 242 of file MultiplicityTimeCorrelations.cc.

242  {
243  using namespace edm;
244 
245  // get Phase
246 
248  iEvent.getByToken(_apvphasecollToken, apvphase);
249 
250  // get HE
251 
253  iEvent.getByToken(_hecollectionToken, he);
254 
255  // check if the event is selected
256 
257  if ((_loworbit < 0 || iEvent.orbitNumber() >= _loworbit) && (_highorbit < 0 || iEvent.orbitNumber() <= _highorbit)) {
258  if (_evfilter.selected(iEvent, iSetup)) {
259  //Compute digi multiplicity
260  /*
261  int ntkdigi=0;
262  int ntibdigi=0;
263  int ntiddigi=0;
264  int ntobdigi=0;
265  int ntecdigi=0;
266  */
268  iEvent.getByToken(_multiplicityMapToken, mults);
269 
270  // create map of digi multiplicity
271 
272  std::map<int, int> digimap;
273  for (std::map<unsigned int, int>::const_iterator mult = mults->begin(); mult != mults->end(); ++mult) {
274  if (_subdets.find(mult->first) != _subdets.end())
275  digimap[int(mult->first)] = mult->second;
276  }
277 
278  _digibxcorrhmevent.fill(*he, digimap, apvphase);
279 
280  // fill debug histos
281 
282  if (he->depth() != 0) {
283  long long dbx = he->deltaBX();
284 
285  if (_dbxhistos.find(dbx) != _dbxhistos.end()) {
286  for (std::map<unsigned int, int>::const_iterator ndigi = mults->begin(); ndigi != mults->end(); ++ndigi) {
287  _dbxhistos[dbx][ndigi->first]->Fill(ndigi->second);
288  }
289  }
290  if (_dbxhistos.find(-1) != _dbxhistos.end()) {
291  for (std::map<unsigned int, int>::const_iterator ndigi = mults->begin(); ndigi != mults->end(); ++ndigi) {
292  _dbxhistos[-1][ndigi->first]->Fill(ndigi->second);
293  }
294  }
295  /*
296  if(_dbxtkhistos.find(dbx)!=_dbxtkhistos.end()) {
297  _dbxtkhistos[dbx]->Fill(ntkdigi);
298  }
299  if(_dbxtkhistos.find(-1)!=_dbxtkhistos.end()) {
300  _dbxtkhistos[-1]->Fill(ntkdigi);
301  }
302 
303  if(_dbxtibhistos.find(dbx)!=_dbxtibhistos.end()) {
304  _dbxtibhistos[dbx]->Fill(ntibdigi);
305  }
306  if(_dbxtibhistos.find(-1)!=_dbxtibhistos.end()) {
307  _dbxtibhistos[-1]->Fill(ntibdigi);
308  }
309 
310  if(_dbxtidhistos.find(dbx)!=_dbxtidhistos.end()) {
311  _dbxtidhistos[dbx]->Fill(ntiddigi);
312  }
313  if(_dbxtidhistos.find(-1)!=_dbxtidhistos.end()) {
314  _dbxtidhistos[-1]->Fill(ntiddigi);
315  }
316  if(_dbxtobhistos.find(dbx)!=_dbxtobhistos.end()) {
317  _dbxtobhistos[dbx]->Fill(ntobdigi);
318  }
319  if(_dbxtobhistos.find(-1)!=_dbxtobhistos.end()) {
320  _dbxtobhistos[-1]->Fill(ntobdigi);
321  }
322  if(_dbxtechistos.find(dbx)!=_dbxtechistos.end()) {
323  _dbxtechistos[dbx]->Fill(ntecdigi);
324  }
325  if(_dbxtechistos.find(-1)!=_dbxtechistos.end()) {
326  _dbxtechistos[-1]->Fill(ntecdigi);
327  }
328  */
329  }
330  }
331  }
332 }

References _apvphasecollToken, _dbxhistos, _digibxcorrhmevent, _evfilter, _hecollectionToken, _highorbit, _loworbit, _multiplicityMapToken, _subdets, DigiBXCorrHistogramMaker< T >::fill(), es_hardcode_cfi::he, iEvent, VarParsing::mult, and EventWithHistoryFilter::selected().

◆ beginJob()

void MultiplicityTimeCorrelations::beginJob ( void  )
overrideprivatevirtual

Reimplemented from edm::EDAnalyzer.

Definition at line 335 of file MultiplicityTimeCorrelations.cc.

335  {
336  LogDebug("IntegerDebug") << " int max and min " << INT_MIN << " " << INT_MAX;
337  LogDebug("IntegerDebug") << " uint max and min " << UINT_MAX;
338  LogDebug("IntegerDebug") << " long max and min " << LONG_MIN << " " << LONG_MAX;
339  LogDebug("IntegerDebug") << " ulong max and min " << ULONG_MAX;
340  LogDebug("IntegerDebug") << " long long max and min " << LLONG_MIN << " " << LLONG_MAX;
341  LogDebug("IntegerDebug") << " u long long max and min " << ULLONG_MAX;
342 
343  edm::LogInfo("MultiplicityTimeCorrelations")
344  << " Correlation studies performed only in the orbit # range " << _loworbit << " " << _highorbit;
345 }

References _highorbit, _loworbit, and LogDebug.

◆ beginRun()

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

Reimplemented from edm::EDAnalyzer.

Definition at line 347 of file MultiplicityTimeCorrelations.cc.

347  {
349 }

References _digibxcorrhmevent, DigiBXCorrHistogramMaker< T >::beginRun(), and edm::RunBase::run().

◆ endJob()

void MultiplicityTimeCorrelations::endJob ( void  )
overrideprivatevirtual

Reimplemented from edm::EDAnalyzer.

Definition at line 351 of file MultiplicityTimeCorrelations.cc.

351 {}

Member Data Documentation

◆ _apvphasecollToken

edm::EDGetTokenT<APVCyclePhaseCollection> MultiplicityTimeCorrelations::_apvphasecollToken
private

Definition at line 87 of file MultiplicityTimeCorrelations.cc.

Referenced by analyze().

◆ _binmax

std::map<unsigned int, int> MultiplicityTimeCorrelations::_binmax
private

Definition at line 90 of file MultiplicityTimeCorrelations.cc.

Referenced by MultiplicityTimeCorrelations().

◆ _dbxbins

std::vector<int> MultiplicityTimeCorrelations::_dbxbins
private

Definition at line 100 of file MultiplicityTimeCorrelations.cc.

Referenced by MultiplicityTimeCorrelations().

◆ _dbxhistos

std::map<int, std::map<unsigned int, TH1F*> > MultiplicityTimeCorrelations::_dbxhistos
private

Definition at line 76 of file MultiplicityTimeCorrelations.cc.

Referenced by analyze(), and MultiplicityTimeCorrelations().

◆ _digibxcorrhmevent

DigiBXCorrHistogramMaker<EventWithHistory> MultiplicityTimeCorrelations::_digibxcorrhmevent
private

Definition at line 73 of file MultiplicityTimeCorrelations.cc.

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

◆ _evfilter

EventWithHistoryFilter MultiplicityTimeCorrelations::_evfilter
private

Definition at line 74 of file MultiplicityTimeCorrelations.cc.

Referenced by analyze(), and MultiplicityTimeCorrelations().

◆ _hecollection

edm::InputTag MultiplicityTimeCorrelations::_hecollection
private

Definition at line 85 of file MultiplicityTimeCorrelations.cc.

Referenced by MultiplicityTimeCorrelations().

◆ _hecollectionToken

edm::EDGetTokenT<EventWithHistory> MultiplicityTimeCorrelations::_hecollectionToken
private

Definition at line 86 of file MultiplicityTimeCorrelations.cc.

Referenced by analyze().

◆ _highorbit

int MultiplicityTimeCorrelations::_highorbit
private

Definition at line 93 of file MultiplicityTimeCorrelations.cc.

Referenced by analyze(), and beginJob().

◆ _loworbit

int MultiplicityTimeCorrelations::_loworbit
private

Definition at line 92 of file MultiplicityTimeCorrelations.cc.

Referenced by analyze(), and beginJob().

◆ _mindbx

int MultiplicityTimeCorrelations::_mindbx
private

Definition at line 95 of file MultiplicityTimeCorrelations.cc.

Referenced by MultiplicityTimeCorrelations().

◆ _mintrpltdbx

int MultiplicityTimeCorrelations::_mintrpltdbx
private

Definition at line 96 of file MultiplicityTimeCorrelations.cc.

Referenced by MultiplicityTimeCorrelations().

◆ _multiplicityMapToken

edm::EDGetTokenT<std::map<unsigned int, int> > MultiplicityTimeCorrelations::_multiplicityMapToken
private

Definition at line 88 of file MultiplicityTimeCorrelations.cc.

Referenced by analyze().

◆ _subdets

std::map<unsigned int, std::string> MultiplicityTimeCorrelations::_subdets
private

Definition at line 89 of file MultiplicityTimeCorrelations.cc.

Referenced by analyze(), and MultiplicityTimeCorrelations().

◆ _trnumb

SiStripTKNumbers MultiplicityTimeCorrelations::_trnumb
private

Definition at line 98 of file MultiplicityTimeCorrelations.cc.

Referenced by MultiplicityTimeCorrelations().

SummaryClient_cfi.labels
labels
Definition: SummaryClient_cfi.py:61
TFileDirectory::make
T * make(const Args &... args) const
make new ROOT object
Definition: TFileDirectory.h:53
edm
HLT enums.
Definition: AlignableModifier.h:19
edm::LogInfo
Definition: MessageLogger.h:254
MultiplicityTimeCorrelations::_mintrpltdbx
int _mintrpltdbx
Definition: MultiplicityTimeCorrelations.cc:96
edm::EDConsumerBase::consumesCollector
ConsumesCollector consumesCollector()
Use a ConsumesCollector to gather consumes information from helper functions.
Definition: EDConsumerBase.cc:71
edm::ParameterSet::getUntrackedParameter
T getUntrackedParameter(std::string const &, T const &) const
TFileDirectory
Definition: TFileDirectory.h:24
edm::Handle
Definition: AssociativeIterator.h:50
edm::RunBase::run
RunNumber_t run() const
Definition: RunBase.h:40
edm::ParameterSet::addUntrackedParameter
void addUntrackedParameter(std::string const &name, T const &value)
Definition: ParameterSet.h:181
DigiBXCorrHistogramMaker::fill
void fill(const T &he, const std::map< int, int > &ndigi, const edm::Handle< APVCyclePhaseCollection > &phase)
Definition: DigiBXCorrHistogramMaker.h:370
MultiplicityTimeCorrelations::_multiplicityMapToken
edm::EDGetTokenT< std::map< unsigned int, int > > _multiplicityMapToken
Definition: MultiplicityTimeCorrelations.cc:88
MultiplicityTimeCorrelations::_mindbx
int _mindbx
Definition: MultiplicityTimeCorrelations.cc:95
edm::EDConsumerBase::mayConsume
EDGetTokenT< ProductType > mayConsume(edm::InputTag const &tag)
Definition: EDConsumerBase.h:141
DigiBXCorrHistogramMaker::beginRun
void beginRun(const unsigned int nrun)
Definition: DigiBXCorrHistogramMaker.h:354
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
MultiplicityTimeCorrelations::_digibxcorrhmevent
DigiBXCorrHistogramMaker< EventWithHistory > _digibxcorrhmevent
Definition: MultiplicityTimeCorrelations.cc:73
TFileService::mkdir
TFileDirectory mkdir(const std::string &dir, const std::string &descr="")
create a new subdirectory
Definition: TFileService.h:69
LogDebug
#define LogDebug(id)
Definition: MessageLogger.h:670
edm::ParameterSet
Definition: ParameterSet.h:36
DigiBXCorrHistogramMaker::book
void book(const char *dirname, const std::map< int, std::string > &labels)
Definition: DigiBXCorrHistogramMaker.h:121
SiStripTKNumbers::nstrips
int nstrips(const DetId &detid) const
Definition: SiStripTKNumbers.cc:81
MultiplicityTimeCorrelations::_apvphasecollToken
edm::EDGetTokenT< APVCyclePhaseCollection > _apvphasecollToken
Definition: MultiplicityTimeCorrelations.cc:87
edm::Service< TFileService >
createfilelist.int
int
Definition: createfilelist.py:10
iEvent
int iEvent
Definition: GenABIO.cc:224
edm::LogVerbatim
Definition: MessageLogger.h:297
EventWithHistoryFilter::set
void set(const edm::ParameterSet &iConfig, edm::ConsumesCollector &&iC)
Definition: EventWithHistoryFilter.cc:63
MultiplicityTimeCorrelations::_dbxbins
std::vector< int > _dbxbins
Definition: MultiplicityTimeCorrelations.cc:100
MultiplicityTimeCorrelations::_hecollectionToken
edm::EDGetTokenT< EventWithHistory > _hecollectionToken
Definition: MultiplicityTimeCorrelations.cc:86
EventWithHistoryFilter::selected
const bool selected(const EventWithHistory &he, const edm::EventSetup &iSetup) const
Definition: EventWithHistoryFilter.cc:88
es_hardcode_cfi.he
he
Definition: es_hardcode_cfi.py:123
newFWLiteAna.bin
bin
Definition: newFWLiteAna.py:161
edm::ParameterSet::getParameter
T getParameter(std::string const &) const
MultiplicityTimeCorrelations::_evfilter
EventWithHistoryFilter _evfilter
Definition: MultiplicityTimeCorrelations.cc:74
MultiplicityTimeCorrelations::_loworbit
int _loworbit
Definition: MultiplicityTimeCorrelations.cc:92
MultiplicityTimeCorrelations::_dbxhistos
std::map< int, std::map< unsigned int, TH1F * > > _dbxhistos
Definition: MultiplicityTimeCorrelations.cc:76
MultiplicityTimeCorrelations::_trnumb
SiStripTKNumbers _trnumb
Definition: MultiplicityTimeCorrelations.cc:98
MultiplicityTimeCorrelations::_highorbit
int _highorbit
Definition: MultiplicityTimeCorrelations.cc:93
VarParsing.mult
mult
Definition: VarParsing.py:659
MultiplicityTimeCorrelations::_binmax
std::map< unsigned int, int > _binmax
Definition: MultiplicityTimeCorrelations.cc:90
edm::InputTag
Definition: InputTag.h:15
MultiplicityTimeCorrelations::_subdets
std::map< unsigned int, std::string > _subdets
Definition: MultiplicityTimeCorrelations.cc:89
MultiplicityTimeCorrelations::_hecollection
edm::InputTag _hecollection
Definition: MultiplicityTimeCorrelations.cc:85