#include <DTNoiseCalibration.h>
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_ |
int | defaultTtrig_ |
edm::InputTag | digiLabel_ |
edm::ESHandle< DTGeometry > | dtGeom_ |
const edm::ESGetToken < DTGeometry, MuonGeometryRecord > | dtGeomToken_ |
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_ |
const edm::ESGetToken< DTTtrig, DTTtrigRcd > | ttrigToken_ |
bool | useAbsoluteRate_ |
bool | useTimeWindow_ |
std::vector< DTWireId > | wireIdWithHisto_ |
Additional Inherited Members | |
Public Types inherited from edm::one::EDAnalyzerBase | |
typedef EDAnalyzerBase | ModuleType |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Static Public Member Functions inherited from edm::one::EDAnalyzerBase | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
Protected Member Functions inherited from edm::EDConsumerBase | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
template<BranchType B = InEvent> | |
EDConsumerBaseAdaptor< B > | consumes (edm::InputTag tag) noexcept |
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 ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes () |
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag const &tag) |
template<Transition Tr = Transition::Event> | |
constexpr auto | esConsumes () |
template<Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag tag) |
template<Transition Tr = Transition::Event> | |
ESGetTokenGeneric | esConsumes (eventsetup::EventSetupRecordKey const &iRecord, eventsetup::DataKey const &iKey) |
Used with EventSetupRecord::doGet. More... | |
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) |
void | resetItemsToGetFrom (BranchType iType) |
Definition at line 33 of file DTNoiseCalibration.h.
DTNoiseCalibration::DTNoiseCalibration | ( | const edm::ParameterSet & | ps | ) |
Constructor.
Definition at line 42 of file DTNoiseCalibration.cc.
References dtT0WireCalibration_cfg::cellsWithHisto, defaultTtrig_, edm::ParameterSet::exists(), edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), phase1PixelTopology::layer, readDB_, rootFile_, dtT0Analyzer_cfg::rootFileName, relativeConstraints::station, and wireIdWithHisto_.
|
override |
|
overridevirtual |
Implements edm::one::EDAnalyzerBase.
Definition at line 116 of file DTNoiseCalibration.cc.
References DTSuperLayerId::chamberId(), chamberOccupancyVsLumiMap_, chamberOccupancyVsTimeMap_, DTTimeUnits::counts, defaultTtrig_, digiLabel_, dtGeom_, Exception, spr::find(), DTTopology::firstChannel(), getChamberName(), getChannelName(), getLayerName(), hTDCTriggerWidth_, isotrackApplyRegressor::k, DTTopology::lastChannel(), LogTrace, lumiMax_, nevents_, readDB_, rootFile_, runBeginTime_, runEndTime_, edm::second(), mps_update::status, theHistoOccupancyMap_, theHistoOccupancyVsLumiMap_, edm::EventBase::time(), timeWindowOffset_, triggerWidth_, tTrigMap_, SplitLinear::upperLimit, useTimeWindow_, edm::Timestamp::value(), and wireIdWithHisto_.
|
overridevirtual |
Reimplemented from edm::one::EDAnalyzerBase.
Definition at line 89 of file DTNoiseCalibration.cc.
References hTDCTriggerWidth_, nevents_, and triggerWidth_.
|
override |
Definition at line 99 of file DTNoiseCalibration.cc.
References edm::RunBase::beginTime(), dtGeom_, dtGeomToken_, edm::RunBase::endTime(), edm::EventSetup::getData(), edm::EventSetup::getHandle(), readDB_, runBeginTime_, runEndTime_, tTrigMap_, ttrigToken_, and edm::Timestamp::value().
|
overridevirtual |
Reimplemented from edm::one::EDAnalyzerBase.
Definition at line 327 of file DTNoiseCalibration.cc.
References newFWLiteAna::bin, chamberOccupancyVsLumiMap_, chamberOccupancyVsTimeMap_, dtGeom_, DTTopology::firstChannel(), hTDCTriggerWidth_, DTTopology::lastChannel(), LogTrace, maximumNoiseRate_, nevents_, GlobalPosition_Frontier_DevDB_cff::record, rootFile_, DTStatusFlag::setCellNoise(), theHistoOccupancyMap_, theHistoOccupancyVsLumiMap_, and useAbsoluteRate_.
Referenced by o2olib.O2ORunMgr::executeJob().
|
inlineoverride |
Definition at line 43 of file DTNoiseCalibration.h.
|
private |
Definition at line 447 of file DTNoiseCalibration.cc.
References DTChamberId::sector(), DTChamberId::station(), cond::impl::to_string(), and DTChamberId::wheel().
Referenced by analyze().
|
private |
Definition at line 421 of file DTNoiseCalibration.cc.
References ecaldqm::binning::channelName(), DTLayerId::layer(), DTChamberId::sector(), DTChamberId::station(), DTSuperLayerId::superlayer(), cond::impl::to_string(), DTChamberId::wheel(), and DTWireId::wire().
Referenced by analyze().
|
private |
Definition at line 428 of file DTNoiseCalibration.cc.
References DTSuperLayerId::chamberId(), DTLayerId::layer(), phase1PixelTopology::layerName, DTChamberId::sector(), DTChamberId::station(), DTSuperLayerId::superlayer(), DTLayerId::superlayerId(), cond::impl::to_string(), and DTChamberId::wheel().
Referenced by analyze().
|
private |
Definition at line 438 of file DTNoiseCalibration.cc.
References DTSuperLayerId::chamberId(), DTChamberId::sector(), DTChamberId::station(), DTSuperLayerId::superlayer(), cond::impl::to_string(), and DTChamberId::wheel().
|
private |
Definition at line 93 of file DTNoiseCalibration.h.
|
private |
Definition at line 95 of file DTNoiseCalibration.h.
|
private |
Definition at line 67 of file DTNoiseCalibration.h.
Referenced by analyze(), and DTNoiseCalibration().
|
private |
Definition at line 55 of file DTNoiseCalibration.h.
Referenced by analyze().
|
private |
Definition at line 78 of file DTNoiseCalibration.h.
Referenced by analyze(), beginRun(), and endJob().
|
private |
Definition at line 79 of file DTNoiseCalibration.h.
Referenced by beginRun().
|
private |
Definition at line 87 of file DTNoiseCalibration.h.
Referenced by analyze(), beginJob(), and endJob().
|
private |
Definition at line 70 of file DTNoiseCalibration.h.
Referenced by analyze().
|
private |
Definition at line 59 of file DTNoiseCalibration.h.
Referenced by endJob().
|
private |
Definition at line 72 of file DTNoiseCalibration.h.
Referenced by analyze(), beginJob(), and endJob().
|
private |
Definition at line 66 of file DTNoiseCalibration.h.
Referenced by analyze(), beginRun(), and DTNoiseCalibration().
|
private |
Definition at line 85 of file DTNoiseCalibration.h.
Referenced by analyze(), DTNoiseCalibration(), endJob(), and ~DTNoiseCalibration().
|
private |
Definition at line 74 of file DTNoiseCalibration.h.
Referenced by analyze(), and beginRun().
|
private |
Definition at line 75 of file DTNoiseCalibration.h.
Referenced by analyze(), and beginRun().
|
private |
Definition at line 89 of file DTNoiseCalibration.h.
|
private |
Definition at line 91 of file DTNoiseCalibration.h.
|
private |
Definition at line 58 of file DTNoiseCalibration.h.
Referenced by analyze().
|
private |
Definition at line 57 of file DTNoiseCalibration.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 82 of file DTNoiseCalibration.h.
Referenced by analyze(), and beginRun().
|
private |
Definition at line 83 of file DTNoiseCalibration.h.
Referenced by beginRun().
|
private |
Definition at line 60 of file DTNoiseCalibration.h.
Referenced by endJob().
|
private |
Definition at line 56 of file DTNoiseCalibration.h.
Referenced by analyze().
|
private |
Definition at line 69 of file DTNoiseCalibration.h.
Referenced by analyze(), and DTNoiseCalibration().