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