#include <DTNoiseComputation.h>
Public Member Functions | |
void | analyze (const edm::Event &event, const edm::EventSetup &setup) |
void | beginJob () |
BeginJob. More... | |
void | beginRun (const edm::Run &, const edm::EventSetup &setup) |
DTNoiseComputation (const edm::ParameterSet &ps) | |
Constructor. More... | |
void | endJob () |
Endjob. More... | |
virtual | ~DTNoiseComputation () |
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 |
virtual | ~EDAnalyzer () |
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 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 |
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::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 35 of file DTNoiseComputation.h.
DTNoiseComputation::DTNoiseComputation | ( | const edm::ParameterSet & | ps | ) |
Constructor.
Definition at line 43 of file DTNoiseComputation.cc.
References gather_cfg::cout, debug, edm::ParameterSet::getUntrackedParameter(), DTAnalyzerDetailed_cfi::rootFileName, and interactiveExample::theFile.
|
virtual |
Destructor.
Definition at line 391 of file DTNoiseComputation.cc.
References interactiveExample::theFile.
|
inline |
Definition at line 50 of file DTNoiseComputation.h.
|
inlinevirtual |
BeginJob.
Reimplemented from edm::EDAnalyzer.
Definition at line 46 of file DTNoiseComputation.h.
References GeneralSetup::setup().
void DTNoiseComputation::beginRun | ( | const edm::Run & | , |
const edm::EventSetup & | setup | ||
) |
Definition at line 66 of file DTNoiseComputation.cc.
References stringResolutionProvider_cfi::bin, DTSuperLayerId::chamberId(), KineDebug3::count(), gather_cfg::cout, debug, HcalObjRepresent::Fill(), edm::EventSetup::get(), DTChamberId::station(), relativeConstraints::station, DTLayerId::superlayerId(), interactiveExample::theFile, DTChamberId::wheel(), and makeMuonMisalignmentScenario::wheel.
|
virtual |
Endjob.
Reimplemented from edm::EDAnalyzer.
Definition at line 217 of file DTNoiseComputation.cc.
References stringResolutionProvider_cfi::bin, alignmentValidation::c1, gather_cfg::cout, trackerHits::histo, mps_fire::i, createfilelist::int, DTLayerId::layer(), create_public_lumi_plots::leg, genParticles_cff::map, RecoTauPiZeroBuilderPlugins_cfi::par0, RecoTauPiZeroBuilderPlugins_cfi::par1, and interactiveExample::theFile.
Referenced by o2olib.O2ORunMgr::executeJob().
|
private |
Get the name of the chamber.
Definition at line 440 of file DTNoiseComputation.cc.
References DTSuperLayerId::chamberId(), DTChamberId::sector(), DTChamberId::station(), relativeConstraints::station, DTLayerId::superlayerId(), DTChamberId::wheel(), and makeMuonMisalignmentScenario::wheel.
|
private |
Get the name of the layer.
Definition at line 399 of file DTNoiseComputation.cc.
References DTSuperLayerId::chamberId(), DTLayerId::layer(), DTChamberId::sector(), DTChamberId::station(), relativeConstraints::station, DTSuperLayerId::superlayer(), DTLayerId::superlayerId(), DTChamberId::wheel(), and makeMuonMisalignmentScenario::wheel.
|
private |
Definition at line 458 of file DTNoiseComputation.cc.
References dttmaxenums::L, DTChamberId::station(), and interactiveExample::theFile.
|
private |
Get the name of the superLayer.
Definition at line 421 of file DTNoiseComputation.cc.
References DTSuperLayerId::chamberId(), DTChamberId::sector(), DTChamberId::station(), relativeConstraints::station, DTSuperLayerId::superlayer(), DTChamberId::wheel(), and makeMuonMisalignmentScenario::wheel.
|
private |
Definition at line 480 of file DTNoiseComputation.cc.
References dttmaxenums::L, funct::pow(), and interactiveExample::theFile.
|
private |
Definition at line 105 of file DTNoiseComputation.h.
|
private |
Definition at line 111 of file DTNoiseComputation.h.
|
private |
Definition at line 102 of file DTNoiseComputation.h.
|
private |
Definition at line 108 of file DTNoiseComputation.h.
|
private |
Definition at line 61 of file DTNoiseComputation.h.
Referenced by counter.Counters::__getitem__().
|
private |
Definition at line 60 of file DTNoiseComputation.h.
Referenced by util.rrapi.RRApi::dprint(), rrapi.RRApi::dprint(), pkg.AbstractPkg::generate(), util.rrapi.RRApi::get(), rrapi.RRApi::get(), pkg.AbstractPkg::get_kwds(), and pkg.AbstractPkg::write().
|
private |
Definition at line 66 of file DTNoiseComputation.h.
|
private |
Definition at line 63 of file DTNoiseComputation.h.
|
private |
Definition at line 62 of file DTNoiseComputation.h.
|
private |
Definition at line 120 of file DTNoiseComputation.h.
|
private |
Definition at line 123 of file DTNoiseComputation.h.
|
private |
Definition at line 78 of file DTNoiseComputation.h.
|
private |
Definition at line 81 of file DTNoiseComputation.h.
|
private |
Definition at line 69 of file DTNoiseComputation.h.
|
private |
Definition at line 84 of file DTNoiseComputation.h.
|
private |
Definition at line 72 of file DTNoiseComputation.h.
|
private |
Definition at line 90 of file DTNoiseComputation.h.
|
private |
Definition at line 75 of file DTNoiseComputation.h.
|
private |
Definition at line 87 of file DTNoiseComputation.h.