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 () |
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) |
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 | |
CurrentProcessingContext const * | currentContext () const |
Definition at line 115 of file SiStripGainFromCalibTree.cc.
|
explicit |
Definition at line 190 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, useCalibration, Validation, and VInputFiles.
SiStripGainFromCalibTree::~SiStripGainFromCalibTree | ( | ) |
Definition at line 699 of file SiStripGainFromCalibTree.cc.
|
privatevirtual |
Reimplemented from ConditionDBWriter< SiStripApvGain >.
Definition at line 321 of file SiStripGainFromCalibTree.cc.
|
private |
Definition at line 363 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, path(), stAPVGain::PreviousGain, cond::runnumber, asciidump::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 223 of file SiStripGainFromCalibTree.cc.
References algoAnalyzeTheTree(), algoComputeMPVandGain(), sistrip::APV, stAPVGain::APVId, APVsColl, APVsCollOrdered, BAD, PV3DBase< T, PVType, FrameType >::basicVector(), stAPVGain::Bin, BoundSurface::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(), Basic3DVector< T >::x(), stAPVGain::x, Basic3DVector< T >::y(), stAPVGain::y, Basic3DVector< T >::z(), and stAPVGain::z.
|
private |
Definition at line 511 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 326 of file SiStripGainFromCalibTree.cc.
|
privatevirtual |
Implements ConditionDBWriter< SiStripApvGain >.
Definition at line 671 of file SiStripGainFromCalibTree.cc.
References a, sistrip::APV, APVsCollOrdered, stAPVGain::DetId, stAPVGain::Gain, NULL, VarParsing::obj, and SiStripApvGain::put().
|
private |
Definition at line 330 of file SiStripGainFromCalibTree.cc.
References MinNrEntries.
Referenced by algoComputeMPVandGain().
|
private |
Definition at line 355 of file SiStripGainFromCalibTree.cc.
References MaxChi2OverNDF, and MaxMPVError.
|
private |
Definition at line 703 of file SiStripGainFromCalibTree.cc.
References sistrip::APV, APVsColl, stAPVGain::CalibGain, m_calibrationPath, and useCalibration.
Referenced by algoBeginJob().
|
private |
Definition at line 578 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 149 of file SiStripGainFromCalibTree.cc.
Referenced by algoAnalyzeTheTree(), and SiStripGainFromCalibTree().
|
private |
Definition at line 187 of file SiStripGainFromCalibTree.cc.
Referenced by algoAnalyzeTheTree(), algoBeginJob(), algoComputeMPVandGain(), MakeCalibrationMap(), and storeOnTree().
|
private |
Definition at line 186 of file SiStripGainFromCalibTree.cc.
Referenced by algoBeginJob(), getNewObject(), and storeOnTree().
|
private |
Definition at line 178 of file SiStripGainFromCalibTree.cc.
Referenced by algoBeginJob(), algoComputeMPVandGain(), and storeOnTree().
|
private |
Definition at line 153 of file SiStripGainFromCalibTree.cc.
Referenced by algoComputeMPVandGain(), and SiStripGainFromCalibTree().
|
private |
Definition at line 161 of file SiStripGainFromCalibTree.cc.
Referenced by algoAnalyzeTheTree(), algoBeginJob(), and algoComputeMPVandGain().
|
private |
Definition at line 162 of file SiStripGainFromCalibTree.cc.
Referenced by algoAnalyzeTheTree(), and algoBeginJob().
|
private |
Definition at line 169 of file SiStripGainFromCalibTree.cc.
Referenced by algoAnalyzeTheTree(), and algoBeginJob().
|
private |
Definition at line 170 of file SiStripGainFromCalibTree.cc.
Referenced by algoAnalyzeTheTree(), and algoBeginJob().
|
private |
Definition at line 167 of file SiStripGainFromCalibTree.cc.
Referenced by algoAnalyzeTheTree(), and algoBeginJob().
|
private |
Definition at line 168 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 166 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 164 of file SiStripGainFromCalibTree.cc.
Referenced by algoAnalyzeTheTree(), and algoBeginJob().
|
private |
Definition at line 176 of file SiStripGainFromCalibTree.cc.
Referenced by algoAnalyzeTheTree(), and algoBeginJob().
|
private |
Definition at line 150 of file SiStripGainFromCalibTree.cc.
Referenced by algoAnalyzeTheTree(), algoBeginJob(), and SiStripGainFromCalibTree().
|
private |
Definition at line 177 of file SiStripGainFromCalibTree.cc.
Referenced by algoBeginJob(), algoComputeMPVandGain(), and storeOnTree().
|
private |
Definition at line 156 of file SiStripGainFromCalibTree.cc.
Referenced by MakeCalibrationMap(), and SiStripGainFromCalibTree().
|
private |
Definition at line 141 of file SiStripGainFromCalibTree.cc.
Referenced by IsGoodLandauFit(), and SiStripGainFromCalibTree().
|
private |
Definition at line 140 of file SiStripGainFromCalibTree.cc.
Referenced by IsGoodLandauFit(), and SiStripGainFromCalibTree().
|
private |
Definition at line 146 of file SiStripGainFromCalibTree.cc.
Referenced by algoAnalyzeTheTree(), and SiStripGainFromCalibTree().
|
private |
Definition at line 148 of file SiStripGainFromCalibTree.cc.
Referenced by algoAnalyzeTheTree(), and SiStripGainFromCalibTree().
|
private |
Definition at line 145 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 139 of file SiStripGainFromCalibTree.cc.
Referenced by getPeakOfLandau(), and SiStripGainFromCalibTree().
|
private |
Definition at line 144 of file SiStripGainFromCalibTree.cc.
Referenced by algoAnalyzeTheTree(), and SiStripGainFromCalibTree().
|
private |
Definition at line 147 of file SiStripGainFromCalibTree.cc.
Referenced by algoAnalyzeTheTree(), and SiStripGainFromCalibTree().
|
private |
Definition at line 142 of file SiStripGainFromCalibTree.cc.
Referenced by algoAnalyzeTheTree(), and SiStripGainFromCalibTree().
|
private |
Definition at line 174 of file SiStripGainFromCalibTree.cc.
Referenced by algoAnalyzeTheTree(), algoBeginJob(), and storeOnTree().
|
private |
Definition at line 172 of file SiStripGainFromCalibTree.cc.
Referenced by algoAnalyzeTheTree(), algoBeginJob(), and storeOnTree().
|
private |
Definition at line 173 of file SiStripGainFromCalibTree.cc.
Referenced by algoAnalyzeTheTree(), algoBeginJob(), and storeOnTree().
|
private |
Definition at line 152 of file SiStripGainFromCalibTree.cc.
Referenced by algoAnalyzeTheTree(), and SiStripGainFromCalibTree().
|
private |
Definition at line 158 of file SiStripGainFromCalibTree.cc.
Referenced by SiStripGainFromCalibTree(), and storeOnTree().
|
private |
Definition at line 175 of file SiStripGainFromCalibTree.cc.
Referenced by algoAnalyzeTheTree(), and algoBeginJob().
|
private |
Definition at line 137 of file SiStripGainFromCalibTree.cc.
Referenced by algoBeginJob(), and storeOnTree().
|
private |
Definition at line 155 of file SiStripGainFromCalibTree.cc.
Referenced by algoAnalyzeTheTree(), MakeCalibrationMap(), and SiStripGainFromCalibTree().
|
private |
Definition at line 151 of file SiStripGainFromCalibTree.cc.
Referenced by algoAnalyzeTheTree(), and SiStripGainFromCalibTree().
|
private |
Definition at line 159 of file SiStripGainFromCalibTree.cc.
Referenced by algoAnalyzeTheTree(), and SiStripGainFromCalibTree().