#include <SiStripGainCosmicCalculator.h>
Private Member Functions | |
void | algoAnalyze (const edm::Event &, const edm::EventSetup &) override |
void | algoBeginJob (const edm::EventSetup &) override |
void | algoEndJob () override |
std::unique_ptr< SiStripApvGain > | getNewObject () override |
std::pair< double, double > | getPeakOfLandau (TH1F *inputHisto) |
double | moduleThickness (const uint32_t detid) |
double | moduleWidth (const uint32_t detid) |
Private Attributes | |
edm::ESGetToken < SiStripDetCabling, SiStripDetCablingRcd > | detCablingToken_ |
std::vector< uint32_t > | detModulesToBeExcluded |
double | ExpectedChargeDeposition |
TObjArray * | HlistAPVPairs |
TObjArray * | HlistOtherHistos |
double | MaxChi2OverNDF |
unsigned int | MinNrEntries |
TString | outputFileName |
bool | outputHistogramsInRootFile |
bool | printdebug_ |
std::vector< uint32_t > | SelectedDetIds |
const SiStripDetCabling * | siStripDetCabling_ = nullptr |
std::map< uint32_t, double > | thickness_map |
const TrackerGeometry * | tkGeom_ = nullptr |
edm::ESGetToken < TrackerGeometry, TrackerDigiGeometryRecord > | tkGeomToken_ |
uint32_t | total_nr_of_events |
std::string | TrackLabel |
std::string | TrackProducer |
const TrackerTopology * | tTopo_ = nullptr |
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 ConditionDBWriter< SiStripApvGain > | |
void | setDoStore (const bool doStore) |
When set to false the payload will not be written to the db. More... | |
void | storeOnDbNow () |
cond::Time_t | timeOfLastIOV () |
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 () noexcept |
template<Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag tag) noexcept |
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) |
Definition at line 32 of file SiStripGainCosmicCalculator.h.
|
explicit |
Definition at line 30 of file SiStripGainCosmicCalculator.cc.
References detCablingToken_, detModulesToBeExcluded, ExpectedChargeDeposition, edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), MaxChi2OverNDF, MinNrEntries, outputFileName, outputHistogramsInRootFile, printdebug_, AlCaHLTBitMon_QueryRunRegistry::string, tkGeomToken_, TrackLabel, and tTopoToken_.
|
override |
Definition at line 64 of file SiStripGainCosmicCalculator.cc.
|
overrideprivatevirtual |
Reimplemented from ConditionDBWriter< SiStripApvGain >.
Definition at line 145 of file SiStripGainCosmicCalculator.cc.
References SiStripRecHit2D::cluster(), funct::cos(), HcalObjRepresent::Fill(), edm::Event::getByLabel(), HlistAPVPairs, HlistOtherHistos, TrackingRecHit::localPosition(), moduleThickness(), moduleWidth(), total_nr_of_events, HLT_FULL_cff::trackCollection, TrackLabel, tracks, trackerHitRTTI::vector, and PV3DBase< T, PVType, FrameType >::x().
|
overrideprivatevirtual |
Reimplemented from ConditionDBWriter< SiStripApvGain >.
Definition at line 70 of file SiStripGainCosmicCalculator.cc.
References activeDets, SiStripDetCabling::addActiveDetectorsRawIds(), SplitLinear::begin, gather_cfg::cout, detCablingToken_, detModulesToBeExcluded, TrackerGeometry::dets(), dataset::end, beamvalidation::exit(), spr::find(), edm::EventSetup::getData(), SiStripSubStructure::getTIBDetectors(), SiStripSubStructure::getTOBDetectors(), HlistAPVPairs, HlistOtherHistos, StripTopology::nstrips(), AlCaHLTBitMon_ParallelJobs::p, SelectedDetIds, siStripDetCabling_, thickness_map, tkGeom_, tkGeomToken_, total_nr_of_events, tTopo_, and tTopoToken_.
|
overrideprivatevirtual |
Reimplemented from ConditionDBWriter< SiStripApvGain >.
Definition at line 68 of file SiStripGainCosmicCalculator.cc.
|
overrideprivatevirtual |
Implements ConditionDBWriter< SiStripApvGain >.
Definition at line 287 of file SiStripGainCosmicCalculator.cc.
References FedChannelConnection::ccuAddr(), FedChannelConnection::ccuChan(), gather_cfg::cout, FedChannelConnection::fecCrate(), FedChannelConnection::fecRing(), FedChannelConnection::fecSlot(), HcalObjRepresent::Fill(), SiStripDetCabling::getConnection(), getPeakOfLandau(), HlistAPVPairs, HlistOtherHistos, moduleThickness(), moduleWidth(), getGTfromDQMFile::obj, makePileupJSON::outputfile, outputFileName, outputHistogramsInRootFile, DetId::rawId(), siStripDetCabling_, DetId::subdetId(), StripSubdetector::TIB, TrackerTopology::tibGlued(), TrackerTopology::tibLayer(), TrackerTopology::tibStereo(), StripSubdetector::TOB, TrackerTopology::tobLayer(), total_nr_of_events, and tTopo_.
|
private |
Definition at line 213 of file SiStripGainCosmicCalculator.cc.
References HLT_FULL_cff::chi2, gather_cfg::cout, relativeConstraints::error, MaxChi2OverNDF, and MinNrEntries.
Referenced by getNewObject().
|
private |
Definition at line 274 of file SiStripGainCosmicCalculator.cc.
References Surface::bounds(), gather_cfg::cout, TrackerGeometry::idToDetUnit(), GeomDet::surface(), Bounds::thickness(), and tkGeom_.
Referenced by algoAnalyze(), and getNewObject().
|
private |
Definition at line 261 of file SiStripGainCosmicCalculator.cc.
References Surface::bounds(), gather_cfg::cout, TrackerGeometry::idToDetUnit(), GeomDet::surface(), tkGeom_, and Bounds::width().
Referenced by algoAnalyze(), and getNewObject().
|
private |
Definition at line 66 of file SiStripGainCosmicCalculator.h.
Referenced by algoBeginJob(), and SiStripGainCosmicCalculator().
|
private |
Definition at line 58 of file SiStripGainCosmicCalculator.h.
Referenced by algoBeginJob(), and SiStripGainCosmicCalculator().
|
private |
Definition at line 55 of file SiStripGainCosmicCalculator.h.
Referenced by SiStripGainCosmicCalculator().
|
private |
Definition at line 52 of file SiStripGainCosmicCalculator.h.
Referenced by algoAnalyze(), algoBeginJob(), and getNewObject().
|
private |
Definition at line 53 of file SiStripGainCosmicCalculator.h.
Referenced by algoAnalyze(), algoBeginJob(), and getNewObject().
|
private |
Definition at line 60 of file SiStripGainCosmicCalculator.h.
Referenced by getPeakOfLandau(), and SiStripGainCosmicCalculator().
|
private |
Definition at line 59 of file SiStripGainCosmicCalculator.h.
Referenced by getPeakOfLandau(), and SiStripGainCosmicCalculator().
|
private |
Definition at line 62 of file SiStripGainCosmicCalculator.h.
Referenced by PhaseITreeProducer.ModuleLvlValuesReader::CreateTree2(), getNewObject(), InefficientDoubleROC.InefficientDeadROCs::ReadHistograms(), and SiStripGainCosmicCalculator().
|
private |
Definition at line 61 of file SiStripGainCosmicCalculator.h.
Referenced by getNewObject(), and SiStripGainCosmicCalculator().
|
private |
Definition at line 63 of file SiStripGainCosmicCalculator.h.
Referenced by SiStripGainCosmicCalculator().
|
private |
Definition at line 57 of file SiStripGainCosmicCalculator.h.
Referenced by algoBeginJob().
|
private |
Definition at line 69 of file SiStripGainCosmicCalculator.h.
Referenced by algoBeginJob(), and getNewObject().
|
private |
Definition at line 56 of file SiStripGainCosmicCalculator.h.
Referenced by algoBeginJob().
|
private |
Definition at line 70 of file SiStripGainCosmicCalculator.h.
Referenced by algoBeginJob(), moduleThickness(), and moduleWidth().
|
private |
Definition at line 67 of file SiStripGainCosmicCalculator.h.
Referenced by algoBeginJob(), and SiStripGainCosmicCalculator().
|
private |
Definition at line 54 of file SiStripGainCosmicCalculator.h.
Referenced by algoAnalyze(), algoBeginJob(), and getNewObject().
|
private |
Definition at line 50 of file SiStripGainCosmicCalculator.h.
Referenced by algoAnalyze(), and SiStripGainCosmicCalculator().
|
private |
Definition at line 49 of file SiStripGainCosmicCalculator.h.
|
private |
Definition at line 68 of file SiStripGainCosmicCalculator.h.
Referenced by algoBeginJob(), and getNewObject().
|
private |
Definition at line 65 of file SiStripGainCosmicCalculator.h.
Referenced by algoBeginJob(), and SiStripGainCosmicCalculator().