#include <SiStripGainCosmicCalculator.h>
Public Member Functions | |
SiStripGainCosmicCalculator (const edm::ParameterSet &) | |
~SiStripGainCosmicCalculator () | |
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 | |
void | algoAnalyze (const edm::Event &, const edm::EventSetup &) |
void | algoBeginJob (const edm::EventSetup &) |
void | algoEndJob () |
SiStripApvGain * | getNewObject () |
std::pair< double, double > | getPeakOfLandau (TH1F *inputHisto) |
double | moduleThickness (const uint32_t detid, const edm::EventSetup *iSetup) |
double | moduleWidth (const uint32_t detid, const edm::EventSetup *iSetup) |
Private Attributes | |
std::vector< uint32_t > | detModulesToBeExcluded |
const edm::EventSetup * | eventSetupCopy_ |
double | ExpectedChargeDeposition |
TObjArray * | HlistAPVPairs |
TObjArray * | HlistOtherHistos |
double | MaxChi2OverNDF |
unsigned int | MinNrEntries |
TString | outputFileName |
bool | outputHistogramsInRootFile |
bool | printdebug_ |
std::vector< uint32_t > | SelectedDetIds |
std::map< uint32_t, double > | thickness_map |
uint32_t | total_nr_of_events |
std::string | TrackLabel |
std::string | TrackProducer |
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 | |
CurrentProcessingContext const * | currentContext () const |
Definition at line 24 of file SiStripGainCosmicCalculator.h.
|
explicit |
Definition at line 40 of file SiStripGainCosmicCalculator.cc.
References detModulesToBeExcluded, ExpectedChargeDeposition, edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), MaxChi2OverNDF, MinNrEntries, outputFileName, outputHistogramsInRootFile, printdebug_, and TrackLabel.
SiStripGainCosmicCalculator::~SiStripGainCosmicCalculator | ( | ) |
Definition at line 65 of file SiStripGainCosmicCalculator.cc.
|
privatevirtual |
Reimplemented from ConditionDBWriter< SiStripApvGain >.
Definition at line 142 of file SiStripGainCosmicCalculator.cc.
References funct::cos(), HcalObjRepresent::Fill(), edm::Event::getByLabel(), HlistAPVPairs, HlistOtherHistos, TrackingRecHit::localPosition(), moduleThickness(), moduleWidth(), total_nr_of_events, TrackLabel, testEve_cfg::tracks, and PV3DBase< T, PVType, FrameType >::x().
|
privatevirtual |
Reimplemented from ConditionDBWriter< SiStripApvGain >.
Definition at line 72 of file SiStripGainCosmicCalculator.cc.
References gather_cfg::cout, cond::rpcobgas::detid, detModulesToBeExcluded, eventSetupCopy_, cmsRelvalreport::exit, edm::EventSetup::get(), SiStripSubStructure::getTIBDetectors(), SiStripSubStructure::getTOBDetectors(), HlistAPVPairs, HlistOtherHistos, StripTopology::nstrips(), AlCaHLTBitMon_ParallelJobs::p, SelectedDetIds, thickness_map, and total_nr_of_events.
|
privatevirtual |
Reimplemented from ConditionDBWriter< SiStripApvGain >.
Definition at line 69 of file SiStripGainCosmicCalculator.cc.
|
privatevirtual |
Implements ConditionDBWriter< SiStripApvGain >.
Definition at line 278 of file SiStripGainCosmicCalculator.cc.
References FedChannelConnection::ccuAddr(), FedChannelConnection::ccuChan(), gather_cfg::cout, eventSetupCopy_, FedChannelConnection::fecCrate(), FedChannelConnection::fecRing(), FedChannelConnection::fecSlot(), HcalObjRepresent::Fill(), edm::EventSetup::get(), getPeakOfLandau(), SiStripDetId::glued(), HlistAPVPairs, HlistOtherHistos, TOBDetId::layer(), TIBDetId::layer(), moduleThickness(), moduleWidth(), getGTfromDQMFile::obj, estimatePileup_makeJSON::outputfile, outputFileName, outputHistogramsInRootFile, DetId::rawId(), SiStripDetId::stereo(), DetId::subdetId(), StripSubdetector::TIB, StripSubdetector::TOB, and total_nr_of_events.
|
private |
Definition at line 207 of file SiStripGainCosmicCalculator.cc.
References gather_cfg::cout, error, MaxChi2OverNDF, and MinNrEntries.
Referenced by getNewObject().
|
private |
Definition at line 264 of file SiStripGainCosmicCalculator.cc.
References BoundSurface::bounds(), gather_cfg::cout, edm::EventSetup::get(), GeomDet::surface(), and Bounds::thickness().
Referenced by algoAnalyze(), and getNewObject().
|
private |
Definition at line 250 of file SiStripGainCosmicCalculator.cc.
References BoundSurface::bounds(), gather_cfg::cout, edm::EventSetup::get(), GeomDet::surface(), and Bounds::width().
Referenced by algoAnalyze(), and getNewObject().
|
private |
Definition at line 47 of file SiStripGainCosmicCalculator.h.
Referenced by algoBeginJob(), and SiStripGainCosmicCalculator().
|
private |
Definition at line 48 of file SiStripGainCosmicCalculator.h.
Referenced by algoBeginJob(), and getNewObject().
|
private |
Definition at line 44 of file SiStripGainCosmicCalculator.h.
Referenced by SiStripGainCosmicCalculator().
|
private |
Definition at line 41 of file SiStripGainCosmicCalculator.h.
Referenced by algoAnalyze(), algoBeginJob(), and getNewObject().
|
private |
Definition at line 42 of file SiStripGainCosmicCalculator.h.
Referenced by algoAnalyze(), algoBeginJob(), and getNewObject().
|
private |
Definition at line 50 of file SiStripGainCosmicCalculator.h.
Referenced by getPeakOfLandau(), and SiStripGainCosmicCalculator().
|
private |
Definition at line 49 of file SiStripGainCosmicCalculator.h.
Referenced by getPeakOfLandau(), and SiStripGainCosmicCalculator().
|
private |
Definition at line 52 of file SiStripGainCosmicCalculator.h.
Referenced by getNewObject(), and SiStripGainCosmicCalculator().
|
private |
Definition at line 51 of file SiStripGainCosmicCalculator.h.
Referenced by getNewObject(), and SiStripGainCosmicCalculator().
|
private |
Definition at line 53 of file SiStripGainCosmicCalculator.h.
Referenced by SiStripGainCosmicCalculator().
|
private |
Definition at line 46 of file SiStripGainCosmicCalculator.h.
Referenced by algoBeginJob().
|
private |
Definition at line 45 of file SiStripGainCosmicCalculator.h.
Referenced by algoBeginJob().
|
private |
Definition at line 43 of file SiStripGainCosmicCalculator.h.
Referenced by algoAnalyze(), algoBeginJob(), and getNewObject().
|
private |
Definition at line 39 of file SiStripGainCosmicCalculator.h.
Referenced by algoAnalyze(), and SiStripGainCosmicCalculator().
|
private |
Definition at line 38 of file SiStripGainCosmicCalculator.h.