#include <SiStripNoiseNormalizedWithApvGainBuilder.h>
Private Member Functions | |
void | fillParameters (std::map< int, std::vector< double > > &mapToFill, const std::string ¶meterName) const |
Fills the parameters read from cfg and matching the name in the given map. More... | |
void | fillSubDetParameter (std::map< int, std::vector< double > > &mapToFill, const std::vector< double > &v, const int subDet, const unsigned short layers) const |
void | printLog (const uint32_t detId, const unsigned short strip, const double &noise) const |
Private Attributes | |
double | electronsPerADC_ |
edm::FileInPath | fp_ |
edm::ESGetToken< SiStripApvGain, SiStripApvGainRcd > | inputApvGainToken_ |
double | minimumPosValue_ |
bool | printdebug_ |
uint32_t | printDebug_ |
edm::ParameterSet | pset_ |
bool | stripLengthMode_ |
edm::ESGetToken< TrackerGeometry, TrackerDigiGeometryRecord > | tGeomToken_ |
edm::ESGetToken< TrackerTopology, TrackerTopologyRcd > | tTopoToken_ |
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 ProductType , BranchType B = InEvent> | |
void | consumesMany () |
void | consumesMany (const TypeToGet &id) |
template<BranchType B> | |
void | consumesMany (const TypeToGet &id) |
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) |
Produces a noise tag using the same settings as the service used in the DummyDBWriter, but it receives a SiStripApvGain tag from the EventSetup and uses the gain values (per apv) to rescale the noise (per strip).
Definition at line 31 of file SiStripNoiseNormalizedWithApvGainBuilder.h.
|
explicit |
Definition at line 12 of file SiStripNoiseNormalizedWithApvGainBuilder.cc.
References inputApvGainToken_, tGeomToken_, and tTopoToken_.
|
inlineoverride |
Definition at line 35 of file SiStripNoiseNormalizedWithApvGainBuilder.h.
|
overridevirtual |
Implements edm::one::EDAnalyzerBase.
Definition at line 24 of file SiStripNoiseNormalizedWithApvGainBuilder.cc.
References cond::service::PoolDBOutputService::appendOneIOV(), cond::service::PoolDBOutputService::beginOfTime(), submitPVResolutionJobs::count, cond::service::PoolDBOutputService::createOneIOV(), cond::service::PoolDBOutputService::currentTime(), electronsPerADC_, PedestalClient_cfi::gain, GeomDet::geographicalId(), edm::EventSetup::getData(), SiStripFakeAPVParameters::getIndex(), edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), inputApvGainToken_, pileupCalc::inputRange, edm::Service< T >::isAvailable(), cond::service::PoolDBOutputService::isNewTagRequest(), dqmiolumiharvest::j, minimumPosValue_, hgchebackDigitizer_cfi::noise, StripTopology::nstrips(), getGTfromDQMFile::obj, printDebug_, printLog(), pset_, StripGeomDetUnit::specificTopology(), StripTopology::stripLength(), stripLengthMode_, tGeomToken_, and tTopoToken_.
|
private |
Fills the parameters read from cfg and matching the name in the given map.
|
private |
Fills the map with the paramters for the given subdetector.
Each vector "v" holds the parameters for the layers/rings, if the vector has only one parameter all the layers/rings get that parameter.
The only other possibility is that the number of parameters equals the number of layers, otherwise an exception of type "Configuration" will be thrown.
|
inlineprivate |
Definition at line 54 of file SiStripNoiseNormalizedWithApvGainBuilder.h.
References hgchebackDigitizer_cfi::noise, and digitizers_cfi::strip.
Referenced by analyze().
|
private |
Definition at line 63 of file SiStripNoiseNormalizedWithApvGainBuilder.h.
Referenced by analyze().
|
private |
Definition at line 59 of file SiStripNoiseNormalizedWithApvGainBuilder.h.
|
private |
Definition at line 70 of file SiStripNoiseNormalizedWithApvGainBuilder.h.
Referenced by analyze(), and SiStripNoiseNormalizedWithApvGainBuilder().
|
private |
Definition at line 64 of file SiStripNoiseNormalizedWithApvGainBuilder.h.
Referenced by analyze().
|
private |
Definition at line 60 of file SiStripNoiseNormalizedWithApvGainBuilder.h.
|
private |
Definition at line 66 of file SiStripNoiseNormalizedWithApvGainBuilder.h.
Referenced by analyze().
|
private |
Definition at line 61 of file SiStripNoiseNormalizedWithApvGainBuilder.h.
Referenced by analyze().
|
private |
Definition at line 65 of file SiStripNoiseNormalizedWithApvGainBuilder.h.
Referenced by analyze().
|
private |
Definition at line 69 of file SiStripNoiseNormalizedWithApvGainBuilder.h.
Referenced by analyze(), and SiStripNoiseNormalizedWithApvGainBuilder().
|
private |
Definition at line 68 of file SiStripNoiseNormalizedWithApvGainBuilder.h.
Referenced by analyze(), and SiStripNoiseNormalizedWithApvGainBuilder().