#include <DTNoiseComputation.h>
Private Member Functions | |
std::string | getChamberName (const DTLayerId &lId) const |
Get the name of the chamber. More... | |
std::string | getLayerName (const DTLayerId &lId) const |
Get the name of the layer. More... | |
int | getMaxNumBins (const DTChamberId &chId) const |
std::string | getSuperLayerName (const DTSuperLayerId &slId) const |
Get the name of the superLayer. More... | |
double | getYMaximum (const DTSuperLayerId &slId) const |
Private Attributes | |
std::map< DTChamberId, TH1F * > | AvNoiseIntegratedPerChamber |
std::map< DTSuperLayerId, TH1F * > | AvNoiseIntegratedPerSuperLayer |
std::map< DTChamberId, TH1F * > | AvNoisePerChamber |
std::map< DTSuperLayerId, TH1F * > | AvNoisePerSuperLayer |
int | counter |
bool | debug |
edm::ESHandle< DTGeometry > | dtGeom |
const edm::ESGetToken< DTGeometry, MuonGeometryRecord > | dtGeomToken_ |
bool | fastAnalysis |
int | MaxEvents |
std::map< std::pair< int, int >, TH1F * > | noisyC |
std::map< std::pair< int, int >, TH1F * > | someHowNoisyC |
std::map< DTWireId, double > | theAverageNoise |
std::map< DTLayerId, std::vector< TH2F * > > | theEvtMap |
TFile * | theFile |
std::map< DTWireId, TH1F * > | theHistoEvtDistancePerWire |
TFile * | theNewFile |
std::map< DTWireId, double > | theTimeConstant |
std::map< DTLayerId, bool > | toComputeNoiseAverage |
std::map< DTWireId, bool > | toDel |
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 DTNoiseComputation.h.
DTNoiseComputation::DTNoiseComputation | ( | const edm::ParameterSet & | ps | ) |
Constructor.
Definition at line 41 of file DTNoiseComputation.cc.
References gather_cfg::cout, debug, fastAnalysis, edm::ParameterSet::getUntrackedParameter(), MaxEvents, CSCSkim_cfi::rootFileName, theFile, and theNewFile.
|
override |
Destructor.
Definition at line 376 of file DTNoiseComputation.cc.
References theFile, and theNewFile.
|
inlineoverridevirtual |
|
inlineoverridevirtual |
BeginJob.
Reimplemented from edm::one::EDAnalyzerBase.
Definition at line 43 of file DTNoiseComputation.h.
|
override |
Definition at line 62 of file DTNoiseComputation.cc.
References AvNoiseIntegratedPerChamber, AvNoiseIntegratedPerSuperLayer, AvNoisePerChamber, AvNoisePerSuperLayer, newFWLiteAna::bin, DTSuperLayerId::chamberId(), DTGeometry::chambers(), submitPVResolutionJobs::count, gather_cfg::cout, debug, dtGeom, dtGeomToken_, HcalObjRepresent::Fill(), getChamberName(), getLayerName(), getMaxNumBins(), getSuperLayerName(), MaxEvents, noisyC, singleTopDQM_cfi::setup, someHowNoisyC, DTChamberId::station(), relativeConstraints::station, DTLayerId::superlayerId(), theAverageNoise, theEvtMap, theFile, to_string(), DTChamberId::wheel(), and makeMuonMisalignmentScenario::wheel.
|
overridevirtual |
Endjob.
Reimplemented from edm::one::EDAnalyzerBase.
Definition at line 214 of file DTNoiseComputation.cc.
References AvNoiseIntegratedPerChamber, AvNoiseIntegratedPerSuperLayer, AvNoisePerChamber, AvNoisePerSuperLayer, newFWLiteAna::bin, alignmentValidation::c1, DTGeometry::chambers(), gather_cfg::cout, dtGeom, fastAnalysis, getLayerName(), getSuperLayerName(), getYMaximum(), timingPdfMaker::histo, mps_fire::i, createfilelist::int, DTLayerId::layer(), genParticles_cff::map, cms::alpakatools::config::maxBin, noisyC, pfMETCorrectionType0_cfi::par0, pfMETCorrectionType0_cfi::par1, someHowNoisyC, theAverageNoise, theEvtMap, theFile, theHistoEvtDistancePerWire, theNewFile, theTimeConstant, to_string(), toDel, and nano_mu_digi_cff::wire.
Referenced by o2olib.O2ORunMgr::executeJob().
|
inlineoverride |
Definition at line 49 of file DTNoiseComputation.h.
|
private |
Get the name of the chamber.
Definition at line 400 of file DTNoiseComputation.cc.
References DTSuperLayerId::chamberId(), DTChamberId::sector(), DTChamberId::station(), DTLayerId::superlayerId(), to_string(), and DTChamberId::wheel().
Referenced by beginRun().
|
private |
Get the name of the layer.
Definition at line 381 of file DTNoiseComputation.cc.
References DTSuperLayerId::chamberId(), DTLayerId::layer(), DTChamberId::sector(), DTChamberId::station(), DTSuperLayerId::superlayer(), DTLayerId::superlayerId(), to_string(), and DTChamberId::wheel().
Referenced by beginRun(), endJob(), getMaxNumBins(), and getYMaximum().
|
private |
Definition at line 409 of file DTNoiseComputation.cc.
References getLayerName(), dttmaxenums::L, DTChamberId::station(), and theFile.
Referenced by beginRun().
|
private |
Get the name of the superLayer.
Definition at line 391 of file DTNoiseComputation.cc.
References DTSuperLayerId::chamberId(), DTChamberId::sector(), DTChamberId::station(), DTSuperLayerId::superlayer(), to_string(), and DTChamberId::wheel().
Referenced by beginRun(), and endJob().
|
private |
Definition at line 429 of file DTNoiseComputation.cc.
References getLayerName(), dttmaxenums::L, funct::pow(), and theFile.
Referenced by endJob().
|
private |
Definition at line 102 of file DTNoiseComputation.h.
Referenced by beginRun(), and endJob().
|
private |
Definition at line 108 of file DTNoiseComputation.h.
Referenced by beginRun(), and endJob().
|
private |
Definition at line 99 of file DTNoiseComputation.h.
Referenced by beginRun(), and endJob().
|
private |
Definition at line 105 of file DTNoiseComputation.h.
Referenced by beginRun(), and endJob().
|
private |
Definition at line 57 of file DTNoiseComputation.h.
Referenced by counter.Counters::__getitem__().
|
private |
Definition at line 56 of file DTNoiseComputation.h.
Referenced by beginRun(), util.rrapi.RRApi::dprint(), rrapi.RRApi::dprint(), DTNoiseComputation(), pkg.AbstractPkg::generate(), util.rrapi.RRApi::get(), rrapi.RRApi::get(), pkg.AbstractPkg::get_kwds(), runTauIdMVA.TauIDEmbedder::loadMVA_WPs_run2_2017(), runTauIdMVA.TauIDEmbedder::runTauID(), crabFunctions.CrabController::submit(), and pkg.AbstractPkg::write().
|
private |
Definition at line 62 of file DTNoiseComputation.h.
Referenced by beginRun(), and endJob().
|
private |
Definition at line 63 of file DTNoiseComputation.h.
Referenced by beginRun().
|
private |
Definition at line 59 of file DTNoiseComputation.h.
Referenced by DTNoiseComputation(), and endJob().
|
private |
Definition at line 58 of file DTNoiseComputation.h.
Referenced by beginRun(), and DTNoiseComputation().
|
private |
Definition at line 117 of file DTNoiseComputation.h.
Referenced by beginRun(), and endJob().
|
private |
Definition at line 120 of file DTNoiseComputation.h.
Referenced by beginRun(), and endJob().
|
private |
Definition at line 75 of file DTNoiseComputation.h.
Referenced by beginRun(), and endJob().
|
private |
Definition at line 78 of file DTNoiseComputation.h.
Referenced by beginRun(), and endJob().
|
private |
Definition at line 66 of file DTNoiseComputation.h.
Referenced by beginRun(), DTNoiseComputation(), endJob(), getMaxNumBins(), getYMaximum(), and ~DTNoiseComputation().
|
private |
Definition at line 81 of file DTNoiseComputation.h.
Referenced by endJob().
|
private |
Definition at line 69 of file DTNoiseComputation.h.
Referenced by DTNoiseComputation(), endJob(), and ~DTNoiseComputation().
|
private |
Definition at line 87 of file DTNoiseComputation.h.
Referenced by endJob().
|
private |
Definition at line 72 of file DTNoiseComputation.h.
|
private |
Definition at line 84 of file DTNoiseComputation.h.
Referenced by endJob().