Go to the documentation of this file. 1 #ifndef CastorPedestalAnalysis_H
2 #define CastorPedestalAnalysis_H
83 typedef std::pair<TH1F*, std::pair<std::map<int, std::vector<double> >, std::vector<TH1F*> > >
PEDBUNCH;
123 std::map<HcalDetId, std::map<int, PEDBUNCH> >
PEDTRENDS;
131 std::map<HcalDetId, std::map<int, PEDBUNCH> >::iterator
_meot;
CastorPedestalWidths * fRawPedestalWidths
std::map< HcalDetId, std::map< int, PEDBUNCH > >::iterator _meot
const CastorPedestals * fRefPedestals
struct CastorPedestalAnalysis::@41 castorHists
const CastorQIECoder * m_coder
std::map< HcalDetId, std::map< int, PEDBUNCH > > PEDTRENDS
void Trendings(std::map< HcalDetId, std::map< int, PEDBUNCH > > &toolT, TH1F *Chi2, TH1F *CapidAverage, TH1F *CapidChi2)
void per2CapsHists(int flag, int id, const HcalDetId detid, const HcalQIESample &qie1, const HcalQIESample &qie2, std::map< HcalDetId, std::map< int, PEDBUNCH > > &toolT, const CastorDbService &cond)
std::vector< bool > state
void processEvent(const CastorDigiCollection &castor, const CastorDbService &cond)
int done(const CastorPedestals *fInputPedestals, const CastorPedestalWidths *fInputWidths, CastorPedestals *fOutputPedestals, CastorPedestalWidths *fOutputWidths)
CastorPedestals * fValPedestals
const CastorPedestalWidths * fRefPedestalWidths
std::string m_outputFileROOT
CastorPedestals * fRawPedestals
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)
std::string m_outputFileMean
~CastorPedestalAnalysis()
Destructor.
std::string m_outputFileWidth
const CastorQIEShape * m_shape
std::pair< TH1F *, std::pair< std::map< int, std::vector< double > >, std::vector< TH1F * > > > PEDBUNCH
void setup(const std::string &m_outputFileROOT)
CastorPedestalWidths * fValPedestalWidths
CastorPedestalAnalysis(const edm::ParameterSet &ps)
Constructor.
static int CastorPedVal(int nstat[4], const CastorPedestals *fRefPedestals, const CastorPedestalWidths *fRefPedestalWidths, CastorPedestals *fRawPedestals, CastorPedestalWidths *fRawPedestalWidths, CastorPedestals *fValPedestals, CastorPedestalWidths *fValPedestalWidths)
void GetPedConst(std::map< HcalDetId, std::map< int, PEDBUNCH > > &toolT, TH1F *PedMeans, TH1F *PedWidths)