#include <DTNoiseCalibration.h>
Classes | |
class | DTNoiseCalibration |
Public Member Functions | |
void | analyze (const edm::Event &e, const edm::EventSetup &c) override |
void | beginJob () override |
void | beginRun (const edm::Run &run, const edm::EventSetup &setup) override |
DTNoiseCalibration (const edm::ParameterSet &ps) | |
Constructor. More... | |
void | endJob () override |
~DTNoiseCalibration () override | |
Destructor. More... | |
Public Member Functions inherited from edm::EDAnalyzer | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
EDAnalyzer () | |
ModuleDescription const & | moduleDescription () const |
std::string | workerType () const |
~EDAnalyzer () override | |
Public Member Functions inherited from edm::EDConsumerBase | |
std::vector< ConsumesInfo > | consumesInfo () const |
void | convertCurrentProcessAlias (std::string const &processName) |
Convert "@currentProcess" in InputTag process names to the actual current process name. More... | |
EDConsumerBase () | |
EDConsumerBase (EDConsumerBase const &)=delete | |
EDConsumerBase (EDConsumerBase &&)=default | |
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 |
EDConsumerBase const & | operator= (EDConsumerBase const &)=delete |
EDConsumerBase & | operator= (EDConsumerBase &&)=default |
bool | registeredToConsume (ProductResolverIndex, bool, BranchType) const |
bool | registeredToConsumeMany (TypeID const &, BranchType) const |
void | updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet) |
virtual | ~EDConsumerBase () noexcept(false) |
Private Member Functions | |
std::string | getChamberName (const DTChamberId &) const |
std::string | getChannelName (const DTWireId &) const |
std::string | getLayerName (const DTLayerId &) const |
std::string | getSuperLayerName (const DTSuperLayerId &) const |
Private Attributes | |
std::map< DTChamberId, TH1F * > | chamberOccupancyVsLumiMap_ |
std::map< DTChamberId, TH1F * > | chamberOccupancyVsTimeMap_ |
std::string | dbLabel_ |
int | defaultTtrig_ |
edm::InputTag | digiLabel_ |
edm::ESHandle< DTGeometry > | dtGeom_ |
TH1F * | hTDCTriggerWidth_ |
unsigned int | lumiMax_ |
double | maximumNoiseRate_ |
int | nevents_ |
bool | readDB_ |
TFile * | rootFile_ |
time_t | runBeginTime_ |
time_t | runEndTime_ |
std::map< DTLayerId, TH1F * > | theHistoOccupancyMap_ |
std::map< DTWireId, TH1F * > | theHistoOccupancyVsLumiMap_ |
int | timeWindowOffset_ |
double | triggerWidth_ |
edm::ESHandle< DTTtrig > | tTrigMap_ |
bool | useAbsoluteRate_ |
bool | useTimeWindow_ |
std::vector< DTWireId > | wireIdWithHisto_ |
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 &) |
Protected Member Functions inherited from edm::EDConsumerBase | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
EDGetToken | consumes (const TypeToGet &id, 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 ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | mayConsume (edm::InputTag const &tag) |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
Definition at line 31 of file DTNoiseCalibration.h.
DTNoiseCalibration::DTNoiseCalibration | ( | const edm::ParameterSet & | ps | ) |
Constructor.
Definition at line 42 of file DTNoiseCalibration.cc.
References defaultTtrig_, edm::ParameterSet::exists(), edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), readDB_, rootFile_, DTAnalyzerDetailed_cfi::rootFileName, relativeConstraints::station, makeMuonMisalignmentScenario::wheel, and wireIdWithHisto_.
|
override |
|
override |
Definition at line 118 of file DTNoiseCalibration.cc.
References DTSuperLayerId::chamberId(), chamberOccupancyVsLumiMap_, chamberOccupancyVsTimeMap_, DTTimeUnits::counts, defaultTtrig_, digiLabel_, dtGeom_, Exception, spr::find(), DTTopology::firstChannel(), objects.autophobj::float, DTTtrig::get(), getChamberName(), getChannelName(), getLayerName(), hTDCTriggerWidth_, createfilelist::int, gen::k, DTAnalyzerDetailed_cfi::kFactor, DTTopology::lastChannel(), DTGeometry::layer(), LogTrace, lumiMax_, nevents_, readDB_, rootFile_, runBeginTime_, runEndTime_, edm::second(), DTLayer::specificTopology(), mps_update::status, theHistoOccupancyMap_, theHistoOccupancyVsLumiMap_, edm::EventBase::time(), timeWindowOffset_, triggerWidth_, tTrigMap_, useTimeWindow_, edm::Timestamp::value(), and wireIdWithHisto_.
|
overridevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 88 of file DTNoiseCalibration.cc.
References hTDCTriggerWidth_, nevents_, and triggerWidth_.
|
override |
Definition at line 98 of file DTNoiseCalibration.cc.
References edm::RunBase::beginTime(), dbLabel_, dtGeom_, edm::RunBase::endTime(), edm::EventSetup::get(), readDB_, runBeginTime_, runEndTime_, tTrigMap_, and edm::Timestamp::value().
|
overridevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 327 of file DTNoiseCalibration.cc.
References stringResolutionProvider_cfi::bin, chamberOccupancyVsLumiMap_, chamberOccupancyVsTimeMap_, dtGeom_, DTTopology::firstChannel(), hTDCTriggerWidth_, DTTopology::lastChannel(), DTGeometry::layer(), LogTrace, maximumNoiseRate_, nevents_, PostProcessor_cff::normalization, record, rootFile_, DTStatusFlag::setCellNoise(), DTLayer::specificTopology(), theHistoOccupancyMap_, theHistoOccupancyVsLumiMap_, and useAbsoluteRate_.
Referenced by o2olib.O2ORunMgr::executeJob().
|
private |
Definition at line 465 of file DTNoiseCalibration.cc.
References DTChamberId::sector(), DTChamberId::station(), relativeConstraints::station, DTChamberId::wheel(), and makeMuonMisalignmentScenario::wheel.
Referenced by analyze().
|
private |
Definition at line 420 of file DTNoiseCalibration.cc.
References ecaldqm::binning::channelName(), DTLayerId::layer(), DTChamberId::sector(), DTChamberId::station(), DTSuperLayerId::superlayer(), DTChamberId::wheel(), and DTWireId::wire().
Referenced by analyze().
|
private |
Definition at line 428 of file DTNoiseCalibration.cc.
References DTSuperLayerId::chamberId(), DTLayerId::layer(), DTChamberId::sector(), DTChamberId::station(), relativeConstraints::station, DTSuperLayerId::superlayer(), DTLayerId::superlayerId(), DTChamberId::wheel(), and makeMuonMisalignmentScenario::wheel.
Referenced by analyze().
|
private |
Definition at line 448 of file DTNoiseCalibration.cc.
References DTSuperLayerId::chamberId(), DTChamberId::sector(), DTChamberId::station(), relativeConstraints::station, DTSuperLayerId::superlayer(), DTChamberId::wheel(), and makeMuonMisalignmentScenario::wheel.
|
private |
Definition at line 89 of file DTNoiseCalibration.h.
|
private |
Definition at line 91 of file DTNoiseCalibration.h.
|
private |
Definition at line 66 of file DTNoiseCalibration.h.
Referenced by beginRun().
|
private |
Definition at line 65 of file DTNoiseCalibration.h.
Referenced by analyze(), and DTNoiseCalibration().
|
private |
Definition at line 53 of file DTNoiseCalibration.h.
Referenced by analyze().
|
private |
Definition at line 77 of file DTNoiseCalibration.h.
Referenced by analyze(), beginRun(), and endJob().
|
private |
Definition at line 83 of file DTNoiseCalibration.h.
Referenced by analyze(), beginJob(), and endJob().
|
private |
Definition at line 69 of file DTNoiseCalibration.h.
Referenced by analyze().
|
private |
Definition at line 57 of file DTNoiseCalibration.h.
Referenced by endJob().
|
private |
Definition at line 71 of file DTNoiseCalibration.h.
Referenced by analyze(), beginJob(), and endJob().
|
private |
Definition at line 64 of file DTNoiseCalibration.h.
Referenced by analyze(), beginRun(), and DTNoiseCalibration().
|
private |
Definition at line 81 of file DTNoiseCalibration.h.
Referenced by analyze(), DTNoiseCalibration(), endJob(), and ~DTNoiseCalibration().
|
private |
Definition at line 73 of file DTNoiseCalibration.h.
Referenced by analyze(), and beginRun().
|
private |
Definition at line 74 of file DTNoiseCalibration.h.
Referenced by analyze(), and beginRun().
|
private |
Definition at line 85 of file DTNoiseCalibration.h.
|
private |
Definition at line 87 of file DTNoiseCalibration.h.
|
private |
Definition at line 56 of file DTNoiseCalibration.h.
Referenced by analyze().
|
private |
Definition at line 55 of file DTNoiseCalibration.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 79 of file DTNoiseCalibration.h.
Referenced by analyze(), and beginRun().
|
private |
Definition at line 58 of file DTNoiseCalibration.h.
Referenced by endJob().
|
private |
Definition at line 54 of file DTNoiseCalibration.h.
Referenced by analyze().
|
private |
Definition at line 68 of file DTNoiseCalibration.h.
Referenced by analyze(), and DTNoiseCalibration().