1 #ifndef EcalPedOffset_H 2 #define EcalPedOffset_H double m_maxChi2OverNDFAllowed_
max chi2/ndf allowed for linearity test
edm::InputTag m_barrelDigiCollection
secondary name given to collection of digis
std::string m_dbHostName
database host name
std::map< int, TPedValues * > m_pedValues
std::string m_dbName
database name
std::string intToString(int num)
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
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 beginRun(edm::Run const &, edm::EventSetup const &eventSetup)
BeginRun.
std::string m_dbUserName
database user name
void readDACs(const edm::Handle< EBDigiCollection > &pDigis, const std::map< int, int > &DACvalues)
void analyze(edm::Event const &event, edm::EventSetup const &eventSetup)
! Analyze
void makePlots()
create the plots of the DAC pedestal trend
virtual ~EcalPedOffset()
Destructor.
void writeXMLFiles(std::string fileName)
write the results into xml format
std::map< int, TPedResult * > m_pedResult
calculate the best DAC value to obtain a pedestal = 200
EcalPedOffset(const edm::ParameterSet &ps)
Constructor.
edm::InputTag m_headerCollection
name of module/plugin/producer making headers
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
edm::InputTag m_endcapDigiCollection
secondary name given to collection of digis