#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 |
EDConsumerBase () | |
ProductHolderIndexAndSkipBit | indexFrom (EDGetToken, BranchType, TypeID const &) const |
void | itemsMayGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const |
void | itemsToGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const |
std::vector < ProductHolderIndexAndSkipBit > const & | itemsToGetFromEvent () const |
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
void | modulesDependentUpon (std::string const &iProcessName, std::string const &iModuleLabel, bool iPrint, std::vector< char const * > &oModuleLabels) const |
void | modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const |
bool | registeredToConsume (ProductHolderIndex, bool, BranchType) const |
bool | registeredToConsumeMany (TypeID const &, BranchType) const |
void | updateLookup (BranchType iBranchType, ProductHolderIndexHelper const &) |
virtual | ~EDConsumerBase () |
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(), dtT0Analyzer_cfg::rootFileName, and interactiveExample::theFile.
|
virtual |
Destructor.
Definition at line 391 of file DTNoiseComputation.cc.
References interactiveExample::theFile.
|
inlinevirtual |
|
inlinevirtual |
|
virtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 66 of file DTNoiseComputation.cc.
References newFWLiteAna::bin, DTSuperLayerId::chamberId(), KineDebug3::count(), gather_cfg::cout, debug, HcalObjRepresent::Fill(), edm::EventSetup::get(), DTChamberId::station(), relativeConstraints::station, DTLayerId::superlayerId(), interactiveExample::theFile, and DTChamberId::wheel().
|
virtual |
Endjob.
Reimplemented from edm::EDAnalyzer.
Definition at line 217 of file DTNoiseComputation.cc.
References newFWLiteAna::bin, alignmentValidation::c1, gather_cfg::cout, timingPdfMaker::histo, i, DTLayerId::layer(), create_public_lumi_plots::leg, fitWZ::par0, and interactiveExample::theFile.
Referenced by o2o.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(), and DTChamberId::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(), and DTChamberId::wheel().
|
private |
Definition at line 458 of file DTNoiseComputation.cc.
References DTLayerId, 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(), and DTChamberId::wheel().
|
private |
Definition at line 480 of file DTNoiseComputation.cc.
References DTLayerId, 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.