#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_ |
const edm::EDGetTokenT< DTDigiCollection > | digiToken_ |
edm::ESHandle< DTGeometry > | dtGeom_ |
const edm::ESGetToken< DTGeometry, MuonGeometryRecord > | dtGeomToken_ |
TH1F * | hTDCTriggerWidth_ |
unsigned int | lumiMax_ |
const double | maximumNoiseRate_ |
int | nevents_ |
bool | readDB_ |
TFile * | rootFile_ |
time_t | runBeginTime_ |
time_t | runEndTime_ |
std::map< DTLayerId, TH1F * > | theHistoOccupancyMap_ |
std::map< DTWireId, TH1F * > | theHistoOccupancyVsLumiMap_ |
const int | timeWindowOffset_ |
const double | triggerWidth_ |
edm::ESHandle< DTTtrig > | tTrigMap_ |
const edm::ESGetToken< DTTtrig, DTTtrigRcd > | ttrigToken_ |
const bool | useAbsoluteRate_ |
const 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 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 34 of file DTNoiseCalibration.h.
DTNoiseCalibration::DTNoiseCalibration | ( | const edm::ParameterSet & | ps | ) |
Constructor.
Definition at line 41 of file DTNoiseCalibration.cc.
References dtNoiseCalibration_cfi::cellsWithHisto, defaultTtrig_, nano_mu_digi_cff::layer, muonDTDigis_cfi::pset, readDB_, rootFile_, dtNoiseCalibration_cfi::rootFileName, nano_mu_digi_cff::sector, relativeConstraints::station, makeMuonMisalignmentScenario::wheel, nano_mu_digi_cff::wire, and wireIdWithHisto_.
|
override |
|
overridevirtual |
Implements edm::one::EDAnalyzerBase.
Definition at line 108 of file DTNoiseCalibration.cc.
References DTSuperLayerId::chamberId(), chamberOccupancyVsLumiMap_, chamberOccupancyVsTimeMap_, DTTimeUnits::counts, defaultTtrig_, digiToken_, dtGeom_, Exception, spr::find(), DTTopology::firstChannel(), ALCARECOEcalPhiSym_cff::float, DTTtrig::get(), getChamberName(), getChannelName(), getLayerName(), HltBtagPostValidation_cff::histoName, hTDCTriggerWidth_, createfilelist::int, isotrackApplyRegressor::k, dtTTrigCalibration_cfi::kFactor, DTTopology::lastChannel(), DTGeometry::layer(), LogTrace, lumiMax_, ecalPedestalPCLworker_cfi::nBins, nevents_, readDB_, rootFile_, runBeginTime_, runEndTime_, edm::second(), DTLayer::specificTopology(), mps_update::status, theHistoOccupancyMap_, theHistoOccupancyVsLumiMap_, timeWindowOffset_, triggerWidth_, dttriganalyzer_cfi::tTrig, tTrigMap_, SplitLinear::upperLimit, useTimeWindow_, and wireIdWithHisto_.
|
overridevirtual |
Reimplemented from edm::one::EDAnalyzerBase.
Definition at line 88 of file DTNoiseCalibration.cc.
References hTDCTriggerWidth_, nevents_, and triggerWidth_.
|
override |
Definition at line 98 of file DTNoiseCalibration.cc.
References dtGeom_, dtGeomToken_, readDB_, writedatasetfile::run, runBeginTime_, runEndTime_, singleTopDQM_cfi::setup, tTrigMap_, and ttrigToken_.
|
overridevirtual |
Reimplemented from edm::one::EDAnalyzerBase.
Definition at line 228 of file DTNoiseCalibration.cc.
References newFWLiteAna::bin, chamberOccupancyVsLumiMap_, chamberOccupancyVsTimeMap_, dtGeom_, DTTopology::firstChannel(), hTDCTriggerWidth_, DTTopology::lastChannel(), DTGeometry::layer(), LogTrace, maximumNoiseRate_, nevents_, PostProcessor_cff::normalization, Hcal_FrontierConditions_cff::record, rootFile_, DTStatusFlag::setCellNoise(), DTLayer::specificTopology(), theHistoOccupancyMap_, theHistoOccupancyVsLumiMap_, and useAbsoluteRate_.
Referenced by o2olib.O2ORunMgr::executeJob().
|
inlineoverride |
Definition at line 44 of file DTNoiseCalibration.h.
|
private |
Definition at line 326 of file DTNoiseCalibration.cc.
References DTChamberId::sector(), DTChamberId::station(), to_string(), and DTChamberId::wheel().
Referenced by analyze().
|
private |
Definition at line 300 of file DTNoiseCalibration.cc.
References ecaldqm::binning::channelName(), DTLayerId::layer(), DTChamberId::sector(), DTChamberId::station(), DTSuperLayerId::superlayer(), to_string(), DTChamberId::wheel(), and DTWireId::wire().
Referenced by analyze().
|
private |
Definition at line 307 of file DTNoiseCalibration.cc.
References DTSuperLayerId::chamberId(), DTLayerId::layer(), DTChamberId::sector(), DTChamberId::station(), DTSuperLayerId::superlayer(), DTLayerId::superlayerId(), to_string(), and DTChamberId::wheel().
Referenced by analyze().
|
private |
Definition at line 317 of file DTNoiseCalibration.cc.
References DTSuperLayerId::chamberId(), DTChamberId::sector(), DTChamberId::station(), DTSuperLayerId::superlayer(), to_string(), and DTChamberId::wheel().
|
private |
Definition at line 90 of file DTNoiseCalibration.h.
|
private |
Definition at line 92 of file DTNoiseCalibration.h.
|
private |
Definition at line 64 of file DTNoiseCalibration.h.
Referenced by analyze(), and DTNoiseCalibration().
|
private |
Definition at line 56 of file DTNoiseCalibration.h.
Referenced by analyze().
|
private |
Definition at line 75 of file DTNoiseCalibration.h.
Referenced by analyze(), beginRun(), and endJob().
|
private |
Definition at line 76 of file DTNoiseCalibration.h.
Referenced by beginRun().
|
private |
Definition at line 84 of file DTNoiseCalibration.h.
Referenced by analyze(), beginJob(), and endJob().
|
private |
Definition at line 67 of file DTNoiseCalibration.h.
Referenced by analyze().
|
private |
Definition at line 60 of file DTNoiseCalibration.h.
Referenced by endJob().
|
private |
Definition at line 69 of file DTNoiseCalibration.h.
Referenced by analyze(), beginJob(), and endJob().
|
private |
Definition at line 63 of file DTNoiseCalibration.h.
Referenced by analyze(), beginRun(), and DTNoiseCalibration().
|
private |
Definition at line 82 of file DTNoiseCalibration.h.
Referenced by analyze(), DTNoiseCalibration(), endJob(), and ~DTNoiseCalibration().
|
private |
Definition at line 71 of file DTNoiseCalibration.h.
Referenced by analyze(), and beginRun().
|
private |
Definition at line 72 of file DTNoiseCalibration.h.
Referenced by analyze(), and beginRun().
|
private |
Definition at line 86 of file DTNoiseCalibration.h.
|
private |
Definition at line 88 of file DTNoiseCalibration.h.
|
private |
Definition at line 59 of file DTNoiseCalibration.h.
Referenced by analyze().
|
private |
Definition at line 58 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 80 of file DTNoiseCalibration.h.
Referenced by beginRun().
|
private |
Definition at line 61 of file DTNoiseCalibration.h.
Referenced by endJob().
|
private |
Definition at line 57 of file DTNoiseCalibration.h.
Referenced by analyze().
|
private |
Definition at line 66 of file DTNoiseCalibration.h.
Referenced by analyze(), and DTNoiseCalibration().