#include <CastorPedestalsAnalysis.h>
Public Member Functions | |
void | analyze (const edm::Event &event, const edm::EventSetup &eventSetup) |
CastorPedestalsAnalysis (const edm::ParameterSet &ps) | |
virtual | ~CastorPedestalsAnalysis () |
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 (const std::string &iProcessName, std::vector< const char * > &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 Attributes | |
std::vector< NewPedBunch > | Bunches |
edm::InputTag | castorDigiCollectionTag |
TH1F * | CASTORMeans |
TH1F * | CASTORWidths |
TH2F * | dephist |
bool | dumpXML |
bool | firsttime |
int | firstTS |
bool | hiSaveFlag |
int | lastTS |
std::string | pedsADCfilename |
std::string | pedsfCfilename |
std::string | ROOTfilename |
int | runnum |
TFile * | theFile |
bool | verboseflag |
std::string | widthsADCfilename |
std::string | widthsfCfilename |
std::string | XMLfilename |
std::string | XMLtag |
std::string | ZSfilename |
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 73 of file CastorPedestalsAnalysis.h.
CastorPedestalsAnalysis::CastorPedestalsAnalysis | ( | const edm::ParameterSet & | ps | ) |
Definition at line 11 of file CastorPedestalsAnalysis.cc.
References dumpXML, firsttime, firstTS, edm::ParameterSet::getUntrackedParameter(), hiSaveFlag, lastTS, and verboseflag.
|
virtual |
Definition at line 23 of file CastorPedestalsAnalysis.cc.
References CastorCondObjectContainer< Item >::addValues(), Bunches, CASTORMeans, CASTORWidths, gather_cfg::cout, dephist, CastorDbASCIIIO::dumpObject(), dumpXML, hiSaveFlag, i, pedsADCfilename, pedsfCfilename, runnum, CastorPedestalWidth::setSigma(), AlCaHLTBitMon_QueryRunRegistry::string, theFile, verboseflag, widthsADCfilename, widthsfCfilename, and XMLfilename.
|
virtual |
Implements edm::EDAnalyzer.
Definition at line 231 of file CastorPedestalsAnalysis.cc.
References a, HcalQIESample::adc(), CastorElectronicsMap::allPrecisionId(), Bunches, NewPedBunch::cap, NewPedBunch::capfc, HcalQIESample::capid(), castorDigiCollectionTag, CASTORMeans, CASTORWidths, CastorQIECoder::charge(), dephist, NewPedBunch::detid, firsttime, firstTS, edm::EventSetup::get(), edm::Event::getByLabel(), i, CastorDataFrame::id(), edm::EventBase::id(), j, lastTS, NewPedBunch::num, pedsADCfilename, pedsfCfilename, NewPedBunch::prod, NewPedBunch::prodfc, edm::ESHandle< class >::product(), DetId::rawId(), ROOTfilename, edm::EventID::run(), runnum, CastorDataFrame::sample(), NewPedBunch::sig, NewPedBunch::sigfc, CastorDataFrame::size(), AlCaHLTBitMon_QueryRunRegistry::string, theFile, NewPedBunch::usedflag, widthsADCfilename, widthsfCfilename, XMLfilename, and XMLtag.
|
private |
Definition at line 85 of file CastorPedestalsAnalysis.h.
Referenced by analyze(), and ~CastorPedestalsAnalysis().
|
private |
Definition at line 111 of file CastorPedestalsAnalysis.h.
Referenced by analyze().
|
private |
Definition at line 102 of file CastorPedestalsAnalysis.h.
Referenced by analyze(), and ~CastorPedestalsAnalysis().
|
private |
Definition at line 103 of file CastorPedestalsAnalysis.h.
Referenced by analyze(), and ~CastorPedestalsAnalysis().
|
private |
Definition at line 106 of file CastorPedestalsAnalysis.h.
Referenced by analyze(), and ~CastorPedestalsAnalysis().
|
private |
Definition at line 88 of file CastorPedestalsAnalysis.h.
Referenced by CastorPedestalsAnalysis(), and ~CastorPedestalsAnalysis().
|
private |
Definition at line 109 of file CastorPedestalsAnalysis.h.
Referenced by analyze(), and CastorPedestalsAnalysis().
|
private |
Definition at line 91 of file CastorPedestalsAnalysis.h.
Referenced by analyze(), and CastorPedestalsAnalysis().
|
private |
Definition at line 87 of file CastorPedestalsAnalysis.h.
Referenced by CastorPedestalsAnalysis(), and ~CastorPedestalsAnalysis().
|
private |
Definition at line 92 of file CastorPedestalsAnalysis.h.
Referenced by analyze(), and CastorPedestalsAnalysis().
|
private |
Definition at line 94 of file CastorPedestalsAnalysis.h.
Referenced by analyze(), and ~CastorPedestalsAnalysis().
|
private |
Definition at line 95 of file CastorPedestalsAnalysis.h.
Referenced by analyze(), and ~CastorPedestalsAnalysis().
|
private |
Definition at line 93 of file CastorPedestalsAnalysis.h.
Referenced by analyze().
|
private |
Definition at line 90 of file CastorPedestalsAnalysis.h.
Referenced by analyze(), and ~CastorPedestalsAnalysis().
|
private |
Definition at line 108 of file CastorPedestalsAnalysis.h.
Referenced by analyze(), and ~CastorPedestalsAnalysis().
|
private |
Definition at line 89 of file CastorPedestalsAnalysis.h.
Referenced by CastorPedestalsAnalysis(), and ~CastorPedestalsAnalysis().
|
private |
Definition at line 96 of file CastorPedestalsAnalysis.h.
Referenced by analyze(), and ~CastorPedestalsAnalysis().
|
private |
Definition at line 97 of file CastorPedestalsAnalysis.h.
Referenced by analyze(), and ~CastorPedestalsAnalysis().
|
private |
Definition at line 98 of file CastorPedestalsAnalysis.h.
Referenced by analyze(), and ~CastorPedestalsAnalysis().
|
private |
Definition at line 99 of file CastorPedestalsAnalysis.h.
Referenced by analyze().
|
private |
Definition at line 100 of file CastorPedestalsAnalysis.h.