Classes | |
class | isEqual |
Public Member Functions | |
SiStripGainFromCalibTree (const edm::ParameterSet &) | |
~SiStripGainFromCalibTree () | |
Public Member Functions inherited from ConditionDBWriter< SiStripApvGain > | |
ConditionDBWriter (const edm::ParameterSet &iConfig) | |
virtual | ~ConditionDBWriter () |
Public Member Functions inherited from edm::EDAnalyzer | |
EDAnalyzer () | |
std::string | workerType () const |
virtual | ~EDAnalyzer () |
Public Member Functions inherited from edm::EDConsumerBase | |
EDConsumerBase () | |
ProductHolderIndex | indexFrom (EDGetToken, BranchType, TypeID const &) const |
void | itemsMayGet (BranchType, std::vector< ProductHolderIndex > &) const |
void | itemsToGet (BranchType, std::vector< ProductHolderIndex > &) const |
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
void | updateLookup (BranchType iBranchType, ProductHolderIndexHelper const &) |
virtual | ~EDConsumerBase () |
Private Member Functions | |
virtual void | algoAnalyze (const edm::Event &, const edm::EventSetup &) |
void | algoAnalyzeTheTree () |
virtual void | algoBeginJob (const edm::EventSetup &) |
void | algoComputeMPVandGain () |
virtual void | algoEndJob () |
SiStripApvGain * | getNewObject () |
void | getPeakOfLandau (TH1 *InputHisto, double *FitResults, double LowRange=50, double HighRange=5400) |
bool | IsGoodLandauFit (double *FitResults) |
void | MakeCalibrationMap () |
void | storeOnTree () |
Additional Inherited Members | |
Public Types inherited from edm::EDAnalyzer | |
typedef EDAnalyzer | ModuleType |
typedef WorkerT< EDAnalyzer > | WorkerType |
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 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::EDAnalyzer | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
CurrentProcessingContext const * | currentContext () const |
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 111 of file SiStripGainFromCalibTree.cc.
|
explicit |
Definition at line 186 of file SiStripGainFromCalibTree.cc.
References AllowSaturation, CalibrationLevel, FirstSetOfConstants, edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), m_calibrationPath, MaxChi2OverNDF, MaxMPVError, MaxNrStrips, MaxTrackChiOverNdf, MaxTrackEta, MaxTrackMomentum, MinNrEntries, MinTrackEta, MinTrackHits, MinTrackMomentum, OldGainRemoving, OutputGains, AlCaHLTBitMon_QueryRunRegistry::string, useCalibration, Validation, and VInputFiles.
SiStripGainFromCalibTree::~SiStripGainFromCalibTree | ( | ) |
Definition at line 695 of file SiStripGainFromCalibTree.cc.
|
privatevirtual |
Reimplemented from ConditionDBWriter< SiStripApvGain >.
Definition at line 317 of file SiStripGainFromCalibTree.cc.
|
private |
Definition at line 359 of file SiStripGainFromCalibTree.cc.
References AllowSaturation, sistrip::APV, APVsColl, stAPVGain::CalibGain, DeDxDiscriminatorTools::charge(), Charge_Vs_Index, Charge_Vs_Index_Absolute, Charge_Vs_PathlengthTECM1, Charge_Vs_PathlengthTECM2, Charge_Vs_PathlengthTECP1, Charge_Vs_PathlengthTECP2, Charge_Vs_PathlengthTIB, Charge_Vs_PathlengthTIDM, Charge_Vs_PathlengthTIDP, Charge_Vs_PathlengthTOB, ERun, stAPVGain::Eta, funct::false, FirstSetOfConstants, i, stAPVGain::Index, MaxNrStrips, MaxTrackChiOverNdf, MaxTrackEta, MaxTrackMomentum, MinTrackEta, MinTrackHits, MinTrackMomentum, NCluster, NEvent, NTrack, NULL, OldGainRemoving, getHLTPrescaleColumns::path, stAPVGain::PreviousGain, cond::runnumber, alignCSCRings::s, SRun, stAPVGain::SubDet, StripSubdetector::TEC, stAPVGain::Thickness, StripSubdetector::TIB, StripSubdetector::TID, StripSubdetector::TOB, diffTreeTool::tree, funct::true, useCalibration, Validation, and VInputFiles.
Referenced by algoBeginJob().
|
privatevirtual |
Reimplemented from ConditionDBWriter< SiStripApvGain >.
Definition at line 219 of file SiStripGainFromCalibTree.cc.
References algoAnalyzeTheTree(), algoComputeMPVandGain(), sistrip::APV, stAPVGain::APVId, APVsColl, APVsCollOrdered, BAD, PV3DBase< T, PVType, FrameType >::basicVector(), stAPVGain::Bin, Surface::bounds(), Charge_Vs_Index, Charge_Vs_Index_Absolute, Charge_Vs_PathlengthTECM1, Charge_Vs_PathlengthTECM2, Charge_Vs_PathlengthTECP1, Charge_Vs_PathlengthTECP2, Charge_Vs_PathlengthTIB, Charge_Vs_PathlengthTIDM, Charge_Vs_PathlengthTIDP, Charge_Vs_PathlengthTOB, stAPVGain::DetId, ERun, stAPVGain::Eta, Basic3DVector< T >::eta(), cmsRelvalreport::exit, FirstSetOfConstants, stAPVGain::FitChi2, stAPVGain::FitMPV, stAPVGain::FitMPVErr, stAPVGain::FitWidth, stAPVGain::FitWidthErr, stAPVGain::Gain, edm::EventSetup::get(), GOOD, i, stAPVGain::Index, stAPVGain::isMasked, edm::ESHandleBase::isValid(), j, TFileDirectory::make(), MakeCalibrationMap(), NCluster, stAPVGain::NEntries, NEvent, StripTopology::nstrips(), NTrack, stAPVGain::Phi, Basic3DVector< T >::phi(), GeomDet::position(), stAPVGain::PreviousGain, stAPVGain::R, DetId::rawId(), StripGeomDetUnit::specificTopology(), SRun, stAPVGain::SubDet, DetId::subdetId(), GeomDet::surface(), StripSubdetector::TEC, tfs, Bounds::thickness(), stAPVGain::Thickness, StripSubdetector::TIB, StripSubdetector::TID, StripSubdetector::TOB, Basic3DVector< T >::transverse(), stAPVGain::x, Basic3DVector< T >::x(), stAPVGain::y, Basic3DVector< T >::y(), stAPVGain::z, and Basic3DVector< T >::z().
|
private |
Definition at line 507 of file SiStripGainFromCalibTree.cc.
References sistrip::APV, stAPVGain::APVId, APVsColl, BAD, stAPVGain::Bin, CalibrationLevel, Charge_Vs_Index, stAPVGain::DetId, stAPVGain::FitChi2, stAPVGain::FitMPV, stAPVGain::FitMPVErr, stAPVGain::FitWidth, stAPVGain::FitWidthErr, stAPVGain::Gain, getPeakOfLandau(), GOOD, Exhume::I, i, stAPVGain::NEntries, NULL, and storeOnTree().
Referenced by algoBeginJob().
|
privatevirtual |
Reimplemented from ConditionDBWriter< SiStripApvGain >.
Definition at line 322 of file SiStripGainFromCalibTree.cc.
|
privatevirtual |
Implements ConditionDBWriter< SiStripApvGain >.
Definition at line 667 of file SiStripGainFromCalibTree.cc.
References a, sistrip::APV, APVsCollOrdered, stAPVGain::DetId, stAPVGain::Gain, NULL, getGTfromDQMFile::obj, and SiStripApvGain::put().
|
private |
Definition at line 326 of file SiStripGainFromCalibTree.cc.
References MinNrEntries.
Referenced by algoComputeMPVandGain().
|
private |
Definition at line 351 of file SiStripGainFromCalibTree.cc.
References MaxChi2OverNDF, and MaxMPVError.
|
private |
Definition at line 699 of file SiStripGainFromCalibTree.cc.
References sistrip::APV, APVsColl, stAPVGain::CalibGain, m_calibrationPath, and useCalibration.
Referenced by algoBeginJob().
|
private |
Definition at line 574 of file SiStripGainFromCalibTree.cc.
References a, sistrip::APV, stAPVGain::APVId, APVsColl, APVsCollOrdered, BAD, stAPVGain::Bin, stAPVGain::DetId, stAPVGain::Eta, stAPVGain::FitChi2, stAPVGain::FitMPV, stAPVGain::FitMPVErr, stAPVGain::FitWidth, stAPVGain::FitWidthErr, stAPVGain::Gain, GOOD, stAPVGain::Index, stAPVGain::isMasked, TFileDirectory::make(), NCluster, stAPVGain::NEntries, NEvent, NTrack, NULL, OutputGains, stAPVGain::Phi, stAPVGain::PreviousGain, stAPVGain::R, stAPVGain::SubDet, tfs, stAPVGain::Thickness, stAPVGain::x, stAPVGain::y, and stAPVGain::z.
Referenced by algoComputeMPVandGain().
|
private |
Definition at line 145 of file SiStripGainFromCalibTree.cc.
Referenced by algoAnalyzeTheTree(), and SiStripGainFromCalibTree().
|
private |
Definition at line 183 of file SiStripGainFromCalibTree.cc.
Referenced by algoAnalyzeTheTree(), algoBeginJob(), algoComputeMPVandGain(), MakeCalibrationMap(), and storeOnTree().
|
private |
Definition at line 182 of file SiStripGainFromCalibTree.cc.
Referenced by algoBeginJob(), getNewObject(), and storeOnTree().
|
private |
Definition at line 174 of file SiStripGainFromCalibTree.cc.
Referenced by algoBeginJob(), algoComputeMPVandGain(), and storeOnTree().
|
private |
Definition at line 149 of file SiStripGainFromCalibTree.cc.
Referenced by algoComputeMPVandGain(), and SiStripGainFromCalibTree().
|
private |
Definition at line 157 of file SiStripGainFromCalibTree.cc.
Referenced by algoAnalyzeTheTree(), algoBeginJob(), and algoComputeMPVandGain().
|
private |
Definition at line 158 of file SiStripGainFromCalibTree.cc.
Referenced by algoAnalyzeTheTree(), and algoBeginJob().
|
private |
Definition at line 165 of file SiStripGainFromCalibTree.cc.
Referenced by algoAnalyzeTheTree(), and algoBeginJob().
|
private |
Definition at line 166 of file SiStripGainFromCalibTree.cc.
Referenced by algoAnalyzeTheTree(), and algoBeginJob().
|
private |
Definition at line 163 of file SiStripGainFromCalibTree.cc.
Referenced by algoAnalyzeTheTree(), and algoBeginJob().
|
private |
Definition at line 164 of file SiStripGainFromCalibTree.cc.
Referenced by algoAnalyzeTheTree(), and algoBeginJob().
|
private |
Definition at line 159 of file SiStripGainFromCalibTree.cc.
Referenced by algoAnalyzeTheTree(), and algoBeginJob().
|
private |
Definition at line 162 of file SiStripGainFromCalibTree.cc.
Referenced by algoAnalyzeTheTree(), and algoBeginJob().
|
private |
Definition at line 161 of file SiStripGainFromCalibTree.cc.
Referenced by algoAnalyzeTheTree(), and algoBeginJob().
|
private |
Definition at line 160 of file SiStripGainFromCalibTree.cc.
Referenced by algoAnalyzeTheTree(), and algoBeginJob().
|
private |
Definition at line 172 of file SiStripGainFromCalibTree.cc.
Referenced by algoAnalyzeTheTree(), and algoBeginJob().
|
private |
Definition at line 146 of file SiStripGainFromCalibTree.cc.
Referenced by algoAnalyzeTheTree(), algoBeginJob(), and SiStripGainFromCalibTree().
|
private |
Definition at line 173 of file SiStripGainFromCalibTree.cc.
Referenced by algoBeginJob(), algoComputeMPVandGain(), and storeOnTree().
|
private |
Definition at line 152 of file SiStripGainFromCalibTree.cc.
Referenced by MakeCalibrationMap(), and SiStripGainFromCalibTree().
|
private |
Definition at line 137 of file SiStripGainFromCalibTree.cc.
Referenced by IsGoodLandauFit(), and SiStripGainFromCalibTree().
|
private |
Definition at line 136 of file SiStripGainFromCalibTree.cc.
Referenced by IsGoodLandauFit(), and SiStripGainFromCalibTree().
|
private |
Definition at line 142 of file SiStripGainFromCalibTree.cc.
Referenced by algoAnalyzeTheTree(), and SiStripGainFromCalibTree().
|
private |
Definition at line 144 of file SiStripGainFromCalibTree.cc.
Referenced by algoAnalyzeTheTree(), and SiStripGainFromCalibTree().
|
private |
Definition at line 141 of file SiStripGainFromCalibTree.cc.
Referenced by algoAnalyzeTheTree(), and SiStripGainFromCalibTree().
|
private |
Definition at line 139 of file SiStripGainFromCalibTree.cc.
Referenced by algoAnalyzeTheTree(), and SiStripGainFromCalibTree().
|
private |
Definition at line 135 of file SiStripGainFromCalibTree.cc.
Referenced by getPeakOfLandau(), and SiStripGainFromCalibTree().
|
private |
Definition at line 140 of file SiStripGainFromCalibTree.cc.
Referenced by algoAnalyzeTheTree(), and SiStripGainFromCalibTree().
|
private |
Definition at line 143 of file SiStripGainFromCalibTree.cc.
Referenced by algoAnalyzeTheTree(), and SiStripGainFromCalibTree().
|
private |
Definition at line 138 of file SiStripGainFromCalibTree.cc.
Referenced by algoAnalyzeTheTree(), and SiStripGainFromCalibTree().
|
private |
Definition at line 170 of file SiStripGainFromCalibTree.cc.
Referenced by algoAnalyzeTheTree(), algoBeginJob(), and storeOnTree().
|
private |
Definition at line 168 of file SiStripGainFromCalibTree.cc.
Referenced by algoAnalyzeTheTree(), algoBeginJob(), and storeOnTree().
|
private |
Definition at line 169 of file SiStripGainFromCalibTree.cc.
Referenced by algoAnalyzeTheTree(), algoBeginJob(), and storeOnTree().
|
private |
Definition at line 148 of file SiStripGainFromCalibTree.cc.
Referenced by algoAnalyzeTheTree(), and SiStripGainFromCalibTree().
|
private |
Definition at line 154 of file SiStripGainFromCalibTree.cc.
Referenced by SiStripGainFromCalibTree(), and storeOnTree().
|
private |
Definition at line 171 of file SiStripGainFromCalibTree.cc.
Referenced by algoAnalyzeTheTree(), and algoBeginJob().
|
private |
Definition at line 133 of file SiStripGainFromCalibTree.cc.
Referenced by algoBeginJob(), and storeOnTree().
|
private |
Definition at line 151 of file SiStripGainFromCalibTree.cc.
Referenced by algoAnalyzeTheTree(), MakeCalibrationMap(), and SiStripGainFromCalibTree().
|
private |
Definition at line 147 of file SiStripGainFromCalibTree.cc.
Referenced by algoAnalyzeTheTree(), and SiStripGainFromCalibTree().
|
private |
Definition at line 155 of file SiStripGainFromCalibTree.cc.
Referenced by algoAnalyzeTheTree(), and SiStripGainFromCalibTree().