#include <CondTools/SiStrip/plugins/SiStripDB2Tree.cc>
Static Public Member Functions | |
static void | fillDescriptions (edm::ConfigurationDescriptions &descriptions) |
Static Public Member Functions inherited from edm::one::EDAnalyzerBase | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
Private Member Functions | |
void | analyze (const edm::Event &, const edm::EventSetup &) override |
void | beginRun (edm::Run const &, edm::EventSetup const &) override |
void | endRun (edm::Run const &, edm::EventSetup const &) override |
template<class Rcd > | |
std::pair< const char *, std::string > | getRecordInfo (const edm::EventSetup &iSetup) const |
void | setTopoInfo (uint32_t detId, const TrackerTopology *tTopo) |
Private Attributes | |
uint32_t | det_type_ |
uint32_t | detId_ |
SiStripDetInfo | detInfo_ |
float | g1_ |
const edm::ESGetToken< SiStripApvGain, SiStripApvGainRcd > | g1Token_ |
float | g2_ |
const edm::ESGetToken< SiStripApvGain, SiStripApvGain2Rcd > | g2Token_ |
float | gsim_ |
const edm::ESGetToken< SiStripApvGain, SiStripApvGainSimRcd > | gsimToken_ |
bool | isBad_ |
const bool | isMC_ |
bool | isTEC_ |
bool | isTIB_ |
bool | isTID_ |
bool | isTOB_ |
uint32_t | istrip_ |
const edm::ESGetToken< SiStripLatency, SiStripLatencyRcd > | latToken_ |
Int_t | layer_ |
float | lenght_ |
float | noise_ |
const edm::ESGetToken< SiStripNoises, SiStripNoisesRcd > | noiseToken_ |
float | pedestal_ |
const edm::ESGetToken< SiStripPedestals, SiStripPedestalsRcd > | pedToken_ |
std::string | processGT_ |
const edm::ESGetToken< SiStripQuality, SiStripQualityRcd > | qualToken_ |
uint32_t | ring_ |
Int_t | side_ |
Int_t | subdetId_ |
TText * | text_ |
const edm::ESGetToken< TrackerTopology, TrackerTopologyRcd > | topoToken_ |
TTree * | tree_ |
Additional Inherited Members | |
Public Types inherited from edm::one::EDAnalyzerBase | |
typedef EDAnalyzerBase | ModuleType |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
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) |
Description: Converts several SiStrip Payloads (Noise, Peds, APVGain, etc.) into a TTree
Definition at line 75 of file SiStripDB2Tree.cc.
|
explicit |
Definition at line 121 of file SiStripDB2Tree.cc.
References det_type_, detId_, detInfo_, make_classfiles::fs, contentValuesFiles::fullPath, g1_, g2_, gsim_, isBad_, isTEC_, isTIB_, isTID_, isTOB_, istrip_, SiStripDetInfoFileReader::kDefaultFile, TFileService::kSharedResource, layer_, lenght_, noise_, pedestal_, SiStripDetInfoFileReader::read(), ring_, side_, subdetId_, text_, and tree_.
|
overridedefault |
|
overrideprivatevirtual |
Implements edm::one::EDAnalyzerBase.
Definition at line 263 of file SiStripDB2Tree.cc.
References det_type_, ALCARECOPPSCalTrackBasedSel_cff::detid, detId_, detInfo_, edm::ParameterSet::dump(), dqmdumpme::first, g1_, g1Token_, g2_, g2Token_, edm::EventSetup::getData(), SiStripNoises::getDetIds(), SiStripNoises::getNoise(), SiStripDetInfo::getNumberOfApvsAndStripLength(), edm::ParameterSet::getParameter(), edm::ParameterSet::getParameterSet(), SiStripPedestals::getPed(), edm::getProcessParameterSetContainingModule(), SiStripNoises::getRange(), SiStripPedestals::getRange(), SiStripBadStrip::getRange(), SiStripApvGain::getRange(), SiStripApvGain::getStripGain(), gsim_, gsimToken_, isBad_, isMC_, SiStripQuality::IsStripBad(), istrip_, SiStripLatency::latency(), latToken_, lenght_, LogDebug, LOGINFO, edm::one::EDAnalyzerBase::moduleDescription(), SiStripDetId::moduleGeometry(), noise_, noiseToken_, pedestal_, pedToken_, processGT_, qualToken_, READMODEMASK, setTopoInfo(), AlCaHLTBitMon_QueryRunRegistry::string, sistrip::STRIPS_PER_APV, text_, topoToken_, and tree_.
|
overrideprivate |
|
inlineoverrideprivate |
Definition at line 84 of file SiStripDB2Tree.cc.
|
static |
Definition at line 333 of file SiStripDB2Tree.cc.
References edm::ConfigurationDescriptions::add(), submitPVResolutionJobs::desc, and AlCaHLTBitMon_QueryRunRegistry::string.
|
private |
Definition at line 226 of file SiStripDB2Tree.cc.
References edm::IOVSyncValue::beginOfTime(), edm::IOVSyncValue::endOfTime(), dqmdumpme::first, edm::EventSetup::get(), dqmdumpme::last, LOGINFO, Hcal_FrontierConditions_cff::record, to_string(), and tree_.
|
private |
Definition at line 181 of file SiStripDB2Tree.cc.
References hcalRecHitTable_cff::detId, isTEC_, isTIB_, isTID_, isTOB_, layer_, ring_, side_, DetId::subdetId(), subdetId_, SiStripSubdetector::TEC, TrackerTopology::tecSide(), TrackerTopology::tecWheel(), SiStripSubdetector::TIB, TrackerTopology::tibLayer(), SiStripSubdetector::TID, TrackerTopology::tidSide(), TrackerTopology::tidWheel(), SiStripSubdetector::TOB, and TrackerTopology::tobLayer().
Referenced by analyze().
|
private |
Definition at line 108 of file SiStripDB2Tree.cc.
Referenced by analyze(), and SiStripDB2Tree().
|
private |
Definition at line 108 of file SiStripDB2Tree.cc.
Referenced by analyze(), and SiStripDB2Tree().
|
private |
Definition at line 115 of file SiStripDB2Tree.cc.
Referenced by analyze(), and SiStripDB2Tree().
|
private |
Definition at line 110 of file SiStripDB2Tree.cc.
Referenced by analyze(), and SiStripDB2Tree().
|
private |
Definition at line 95 of file SiStripDB2Tree.cc.
Referenced by analyze().
|
private |
Definition at line 110 of file SiStripDB2Tree.cc.
Referenced by analyze(), and SiStripDB2Tree().
|
private |
Definition at line 96 of file SiStripDB2Tree.cc.
Referenced by analyze().
|
private |
Definition at line 110 of file SiStripDB2Tree.cc.
Referenced by analyze(), and SiStripDB2Tree().
|
private |
Definition at line 98 of file SiStripDB2Tree.cc.
Referenced by analyze().
|
private |
Definition at line 111 of file SiStripDB2Tree.cc.
Referenced by analyze(), and SiStripDB2Tree().
|
private |
Definition at line 102 of file SiStripDB2Tree.cc.
Referenced by analyze(), and beginRun().
|
private |
Definition at line 111 of file SiStripDB2Tree.cc.
Referenced by setTopoInfo(), and SiStripDB2Tree().
|
private |
Definition at line 111 of file SiStripDB2Tree.cc.
Referenced by setTopoInfo(), and SiStripDB2Tree().
|
private |
Definition at line 111 of file SiStripDB2Tree.cc.
Referenced by setTopoInfo(), and SiStripDB2Tree().
|
private |
Definition at line 111 of file SiStripDB2Tree.cc.
Referenced by setTopoInfo(), and SiStripDB2Tree().
|
private |
Definition at line 108 of file SiStripDB2Tree.cc.
Referenced by analyze(), and SiStripDB2Tree().
|
private |
Definition at line 99 of file SiStripDB2Tree.cc.
Referenced by analyze().
|
private |
Definition at line 109 of file SiStripDB2Tree.cc.
Referenced by setTopoInfo(), and SiStripDB2Tree().
|
private |
Definition at line 110 of file SiStripDB2Tree.cc.
Referenced by analyze(), and SiStripDB2Tree().
|
private |
Definition at line 110 of file SiStripDB2Tree.cc.
Referenced by analyze(), and SiStripDB2Tree().
|
private |
Definition at line 94 of file SiStripDB2Tree.cc.
Referenced by analyze().
|
private |
Definition at line 110 of file SiStripDB2Tree.cc.
Referenced by analyze(), and SiStripDB2Tree().
|
private |
Definition at line 93 of file SiStripDB2Tree.cc.
Referenced by analyze().
|
private |
Definition at line 105 of file SiStripDB2Tree.cc.
Referenced by analyze().
|
private |
Definition at line 97 of file SiStripDB2Tree.cc.
Referenced by analyze().
|
private |
Definition at line 108 of file SiStripDB2Tree.cc.
Referenced by setTopoInfo(), and SiStripDB2Tree().
|
private |
Definition at line 109 of file SiStripDB2Tree.cc.
Referenced by setTopoInfo(), and SiStripDB2Tree().
|
private |
Definition at line 109 of file SiStripDB2Tree.cc.
Referenced by setTopoInfo(), and SiStripDB2Tree().
|
private |
Definition at line 112 of file SiStripDB2Tree.cc.
Referenced by analyze(), and SiStripDB2Tree().
|
private |
Definition at line 100 of file SiStripDB2Tree.cc.
Referenced by analyze().
|
private |
Definition at line 104 of file SiStripDB2Tree.cc.
Referenced by analyze(), beginRun(), getRecordInfo(), and SiStripDB2Tree().