Go to the documentation of this file. 1 #ifndef EcalPedOffset_H
2 #define EcalPedOffset_H
43 void endJob(
void)
override;
void makePlots()
create the plots of the DAC pedestal trend
EcalPedOffset(const edm::ParameterSet &ps)
Constructor.
Transient container right DAC values for each crystal and each gain $Date: $Revision:
std::string m_plotting
the root file where to store the detail plots
edm::InputTag m_headerCollection
name of module/plugin/producer making headers
std::map< int, TPedValues * > m_pedValues
const EcalElectronicsMapping * ecalElectronicsMap_
std::string m_dbPassword
database user password
std::string m_dbName
database name
~EcalPedOffset() override
Destructor.
std::string m_dbHostName
database host name
edm::InputTag m_endcapDigiCollection
secondary name given to collection of digis
void endJob(void) override
EndJob.
std::string intToString(int num)
calculate the best DAC value to obtain a pedestal = 200
void beginRun(edm::Run const &, edm::EventSetup const &eventSetup) override
BeginRun.
void analyze(edm::Event const &event, edm::EventSetup const &eventSetup) override
! Analyze
std::string m_xmlFile
name of the xml file to be saved
void readDACs(const edm::Handle< EBDigiCollection > &pDigis, const std::map< int, int > &DACvalues)
Transient container Store all the pedestal values depending on the gain and pedestal offset $Date: $R...
double m_minSlopeAllowed_
min slope (in magnitude) allowed for linearity test
edm::InputTag m_barrelDigiCollection
secondary name given to collection of digis
std::map< int, TPedResult * > m_pedResult
void writeXMLFiles(std::string fileName)
write the results into xml format
std::string m_dbUserName
database user name
double m_maxSlopeAllowed_
max slope (in magnitude) allowed for linearity test
double m_maxChi2OverNDFAllowed_
max chi2/ndf allowed for linearity test