Go to the documentation of this file. 1 #ifndef HcalPedestalAnalysis_H
2 #define HcalPedestalAnalysis_H
87 typedef std::pair<TH1F*, std::pair<std::map<int, std::vector<double> >, std::vector<TH1F*> > >
PEDBUNCH;
127 std::map<HcalDetId, std::map<int, PEDBUNCH> >
PEDTRENDS;
135 std::map<HcalDetId, std::map<int, PEDBUNCH> >::iterator
_meot;
void processEvent(const HBHEDigiCollection &hbhe, const HODigiCollection &ho, const HFDigiCollection &hf, const HcalDbService &cond)
std::string m_outputFileMean
std::map< HcalDetId, std::map< int, PEDBUNCH > > PEDTRENDS
struct HcalPedestalAnalysis::@57 hoHists
void setup(const std::string &m_outputFileROOT)
std::string m_outputFileWidth
void GetPedConst(std::map< HcalDetId, std::map< int, PEDBUNCH > > &toolT, TH1F *PedMeans, TH1F *PedWidths)
const HcalPedestals * fRefPedestals
void setTopology(const HcalTopology *htopo)
void per2CapsHists(int flag, int id, const HcalDetId detid, const HcalQIESample &qie1, const HcalQIESample &qie2, std::map< HcalDetId, std::map< int, PEDBUNCH > > &toolT, const HcalDbService &cond)
void AllChanHists(const HcalDetId detid, const HcalQIESample &qie0, const HcalQIESample &qie1, const HcalQIESample &qie2, const HcalQIESample &qie3, const HcalQIESample &qie4, const HcalQIESample &qie5, std::map< HcalDetId, std::map< int, PEDBUNCH > > &toolT)
void Trendings(std::map< HcalDetId, std::map< int, PEDBUNCH > > &toolT, TH1F *Chi2, TH1F *CapidAverage, TH1F *CapidChi2)
const HcalPedestalWidths * fRefPedestalWidths
const HcalQIECoder * m_coder
std::map< HcalDetId, std::map< int, PEDBUNCH > >::iterator _meot
HcalPedestalAnalysis(const edm::ParameterSet &ps)
Constructor.
std::vector< bool > state
~HcalPedestalAnalysis()
Destructor.
HcalPedestals * fValPedestals
static int HcalPedVal(int nstat[4], const HcalPedestals *fRefPedestals, const HcalPedestalWidths *fRefPedestalWidths, HcalPedestals *fRawPedestals, HcalPedestalWidths *fRawPedestalWidths, HcalPedestals *fValPedestals, HcalPedestalWidths *fValPedestalWidths)
struct HcalPedestalAnalysis::@57 hfHists
struct HcalPedestalAnalysis::@57 hbHists
std::string m_outputFileROOT
HcalPedestalWidths * fValPedestalWidths
const HcalTopology * fTopology
const HcalQIEShape * m_shape
HcalPedestalWidths * fRawPedestalWidths
std::pair< TH1F *, std::pair< std::map< int, std::vector< double > >, std::vector< TH1F * > > > PEDBUNCH
HcalPedestals * fRawPedestals
int done(const HcalPedestals *fInputPedestals, const HcalPedestalWidths *fInputWidths, HcalPedestals *fOutputPedestals, HcalPedestalWidths *fOutputWidths)