#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_ |
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 &) |
static bool | wantsGlobalLuminosityBlocks () |
static bool | wantsGlobalRuns () |
static bool | wantsStreamLuminosityBlocks () |
static bool | wantsStreamRuns () |
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, mixOne_premix_on_sim_cfi::wire, 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 326 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 453 of file DTNoiseCalibration.cc.
References DTChamberId::sector(), DTChamberId::station(), and DTChamberId::wheel().
Referenced by analyze().
|
private |
Definition at line 419 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 426 of file DTNoiseCalibration.cc.
References DTSuperLayerId::chamberId(), DTLayerId::layer(), DTChamberId::sector(), DTChamberId::station(), DTSuperLayerId::superlayer(), DTLayerId::superlayerId(), and DTChamberId::wheel().
Referenced by analyze().
|
private |
Definition at line 440 of file DTNoiseCalibration.cc.
References DTSuperLayerId::chamberId(), DTChamberId::sector(), DTChamberId::station(), DTSuperLayerId::superlayer(), and DTChamberId::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().