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 analyze(edm::Event const &event, edm::EventSetup const &eventSetup)
! Analyze
void makePlots()
create the plots of the DAC pedestal trend
virtual ~EcalPedOffset()
Destructor.
How EventSelector::AcceptEvent() decides whether to accept an event for output otherwise it is excluding the probing of A single or multiple positive and the trigger will pass if any such matching triggers are PASS or EXCEPTION[A criterion thatmatches no triggers at all is detected and causes a throw.] A single negative with an expectation of appropriate bit checking in the decision and the trigger will pass if any such matching triggers are FAIL or EXCEPTION A wildcarded negative criterion that matches more than one trigger in the trigger but the state exists so we define the behavior If all triggers are the negative crieriion will lead to accepting the event(this again matches the behavior of"!*"before the partial wildcard feature was incorporated).The per-event"cost"of each negative criterion with multiple relevant triggers is about the same as!*was in the past
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
void readDACs(edm::Handle< EBDigiCollection > pDigis, std::map< int, int > DACvalues)