1 #ifndef HcalLedAnalysis_H
2 #define HcalLedAnalysis_H
68 typedef std::pair<TH1F*,std::pair<std::map<int, std::vector<double> >,std::vector<TH1F*> > >
LEDBUNCH;
111 std::map<HcalDetId,std::map<int, LEDBUNCH > >
LEDTRENDS;
117 std::map<HcalDetId,std::map<int, LEDBUNCH > >::iterator
_meol;
119 std::map<HcalDetId,std::map<int,float> >::iterator
_meee;
122 std::map<HcalCalibDetId,CALIBBUNCH>::iterator
_meca;
void LedHBHEHists(const HcalDetId &detid, const HBHEDataFrame &ledDigi, std::map< HcalDetId, std::map< int, LEDBUNCH > > &toolT, const HcalDbService &cond)
std::vector< bool > state
void LedSetup(const std::string &m_outputFileROOT)
std::map< HcalCalibDetId, CALIBBUNCH > calibHists
void processLedEvent(const HBHEDigiCollection &hbhe, const HODigiCollection &ho, const HFDigiCollection &hf, const HcalCalibDigiCollection &calib, const HcalDbService &cond)
~HcalLedAnalysis()
Destructor.
std::string m_outputFileROOT
HcalLedAnalysis(const edm::ParameterSet &ps)
Constructor.
const HcalPedestal * m_ped
MVATrainerComputer * calib
void SetupLEDHists(int id, const HcalDetId detid, std::map< HcalDetId, std::map< int, LEDBUNCH > > &toolT)
std::map< HcalCalibDetId, CALIBBUNCH >::iterator _meca
void GetLedConst(std::map< HcalDetId, std::map< int, LEDBUNCH > > &toolT)
std::string m_outputFileX
void ProcessCalibEvent(int fiberChan, HcalCalibDetId calibId, const HcalCalibDataFrame &digi)
const HcalQIECoder * m_coder
std::ofstream m_outputFileXML
float BinsizeCorr(float time)
void LedHFHists(const HcalDetId &detid, const HFDataFrame &ledDigi, std::map< HcalDetId, std::map< int, LEDBUNCH > > &toolT, const HcalDbService &cond)
std::map< HcalDetId, std::map< int, float > >::iterator _meee
std::pair< TH1F *, std::pair< std::map< int, std::vector< double > >, std::vector< TH1F * > > > LEDBUNCH
struct HcalLedAnalysis::@51 hfHists
struct HcalLedAnalysis::@51 hbHists
const HcalQIEShape * m_shape
void LedTrendings(std::map< HcalDetId, std::map< int, LEDBUNCH > > &toolT)
std::string m_outputFileText
void LedHOHists(const HcalDetId &detid, const HODataFrame &ledDigi, std::map< HcalDetId, std::map< int, LEDBUNCH > > &toolT, const HcalDbService &cond)
std::map< HcalDetId, std::map< int, LEDBUNCH > > LEDTRENDS
std::map< HcalDetId, std::map< int, float > > m_AllPedVals
struct HcalLedAnalysis::@51 hoHists
std::map< HcalDetId, std::map< int, LEDBUNCH > >::iterator _meol