#include <CastorPedestalAnalysis.h>
Public Member Functions | |
CastorPedestalAnalysis (const edm::ParameterSet &ps) | |
Constructor. More... | |
int | done (const CastorPedestals *fInputPedestals, const CastorPedestalWidths *fInputWidths, CastorPedestals *fOutputPedestals, CastorPedestalWidths *fOutputWidths) |
void | processEvent (const CastorDigiCollection &castor, const CastorDbService &cond) |
void | SampleAnalysis () |
void | setup (const std::string &m_outputFileROOT) |
~CastorPedestalAnalysis () | |
Destructor. More... | |
Static Public Member Functions | |
static int | CastorPedVal (int nstat[4], const CastorPedestals *fRefPedestals, const CastorPedestalWidths *fRefPedestalWidths, CastorPedestals *fRawPedestals, CastorPedestalWidths *fRawPedestalWidths, CastorPedestals *fValPedestals, CastorPedestalWidths *fValPedestalWidths) |
Private Types | |
typedef std::pair< TH1F *, std::pair< std::map< int, std::vector< double > >, std::vector< TH1F * > > > | PEDBUNCH |
Private Member Functions | |
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 | GetPedConst (std::map< HcalDetId, std::map< int, PEDBUNCH > > &toolT, TH1F *PedMeans, TH1F *PedWidths) |
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) |
void | Trendings (std::map< HcalDetId, std::map< int, PEDBUNCH > > &toolT, TH1F *Chi2, TH1F *CapidAverage, TH1F *CapidChi2) |
Private Attributes | |
std::map< HcalDetId, std::map < int, PEDBUNCH > >::iterator | _meot |
struct { | |
TH1F * ALLPEDS | |
TH1F * CAPID_AVERAGE | |
TH1F * CAPID_CHI2 | |
TH1F * CHI2 | |
TH1F * PEDMEAN | |
TH1F * PEDRMS | |
std::map< HcalDetId, std::map < int, PEDBUNCH > > PEDTRENDS | |
} | castorHists |
int | evt |
int | evt_curr |
CastorPedestals * | fRawPedestals |
CastorPedestalWidths * | fRawPedestalWidths |
const CastorPedestals * | fRefPedestals |
const CastorPedestalWidths * | fRefPedestalWidths |
CastorPedestals * | fValPedestals |
CastorPedestalWidths * | fValPedestalWidths |
int | m_AllPedsOK |
const CastorQIECoder * | m_coder |
int | m_endTS |
TFile * | m_file |
int | m_hiSaveflag |
std::ofstream | m_logFile |
int | m_nevtsample |
std::string | m_outputFileMean |
std::string | m_outputFileROOT |
std::string | m_outputFileWidth |
int | m_pedsinADC |
int | m_pedValflag |
const CastorQIEShape * | m_shape |
int | m_startTS |
float | m_stat [4] |
int | sample |
std::vector< bool > | state |
Static Private Attributes | |
static const int | fitflag =0 |
Definition at line 39 of file CastorPedestalAnalysis.h.
|
private |
Definition at line 89 of file CastorPedestalAnalysis.h.
CastorPedestalAnalysis::CastorPedestalAnalysis | ( | const edm::ParameterSet & | ps | ) |
Constructor.
Definition at line 15 of file CastorPedestalAnalysis.cc.
CastorPedestalAnalysis::~CastorPedestalAnalysis | ( | ) |
Destructor.
Definition at line 69 of file CastorPedestalAnalysis.cc.
|
private |
Definition at line 239 of file CastorPedestalAnalysis.cc.
|
static |
Definition at line 644 of file CastorPedestalAnalysis.cc.
int CastorPedestalAnalysis::done | ( | const CastorPedestals * | fInputPedestals, |
const CastorPedestalWidths * | fInputWidths, | ||
CastorPedestals * | fOutputPedestals, | ||
CastorPedestalWidths * | fOutputWidths | ||
) |
Definition at line 414 of file CastorPedestalAnalysis.cc.
|
private |
Definition at line 264 of file CastorPedestalAnalysis.cc.
|
private |
Definition at line 131 of file CastorPedestalAnalysis.cc.
void CastorPedestalAnalysis::processEvent | ( | const CastorDigiCollection & | castor, |
const CastorDbService & | cond | ||
) |
Definition at line 90 of file CastorPedestalAnalysis.cc.
void CastorPedestalAnalysis::SampleAnalysis | ( | ) |
Definition at line 251 of file CastorPedestalAnalysis.cc.
void CastorPedestalAnalysis::setup | ( | const std::string & | m_outputFileROOT | ) |
Definition at line 82 of file CastorPedestalAnalysis.cc.
|
private |
Definition at line 489 of file CastorPedestalAnalysis.cc.
Definition at line 124 of file CastorPedestalAnalysis.h.
TH1F* CastorPedestalAnalysis::ALLPEDS |
Definition at line 117 of file CastorPedestalAnalysis.h.
TH1F* CastorPedestalAnalysis::CAPID_AVERAGE |
Definition at line 121 of file CastorPedestalAnalysis.h.
TH1F* CastorPedestalAnalysis::CAPID_CHI2 |
Definition at line 122 of file CastorPedestalAnalysis.h.
struct { ... } CastorPedestalAnalysis::castorHists |
TH1F* CastorPedestalAnalysis::CHI2 |
Definition at line 120 of file CastorPedestalAnalysis.h.
|
private |
Definition at line 131 of file CastorPedestalAnalysis.h.
|
private |
Definition at line 133 of file CastorPedestalAnalysis.h.
|
staticprivate |
Definition at line 138 of file CastorPedestalAnalysis.h.
|
private |
Definition at line 127 of file CastorPedestalAnalysis.h.
|
private |
Definition at line 128 of file CastorPedestalAnalysis.h.
|
private |
Definition at line 125 of file CastorPedestalAnalysis.h.
|
private |
Definition at line 126 of file CastorPedestalAnalysis.h.
|
private |
Definition at line 129 of file CastorPedestalAnalysis.h.
|
private |
Definition at line 130 of file CastorPedestalAnalysis.h.
|
private |
Definition at line 111 of file CastorPedestalAnalysis.h.
|
private |
Definition at line 114 of file CastorPedestalAnalysis.h.
|
private |
Definition at line 106 of file CastorPedestalAnalysis.h.
|
private |
Definition at line 99 of file CastorPedestalAnalysis.h.
|
private |
Definition at line 109 of file CastorPedestalAnalysis.h.
|
private |
Definition at line 104 of file CastorPedestalAnalysis.h.
|
private |
Definition at line 107 of file CastorPedestalAnalysis.h.
|
private |
Definition at line 102 of file CastorPedestalAnalysis.h.
|
private |
Definition at line 101 of file CastorPedestalAnalysis.h.
|
private |
Definition at line 103 of file CastorPedestalAnalysis.h.
|
private |
Definition at line 108 of file CastorPedestalAnalysis.h.
|
private |
Definition at line 110 of file CastorPedestalAnalysis.h.
|
private |
Definition at line 113 of file CastorPedestalAnalysis.h.
|
private |
Definition at line 105 of file CastorPedestalAnalysis.h.
|
private |
Definition at line 134 of file CastorPedestalAnalysis.h.
TH1F* CastorPedestalAnalysis::PEDMEAN |
Definition at line 119 of file CastorPedestalAnalysis.h.
TH1F* CastorPedestalAnalysis::PEDRMS |
Definition at line 118 of file CastorPedestalAnalysis.h.
Definition at line 116 of file CastorPedestalAnalysis.h.
|
private |
Definition at line 132 of file CastorPedestalAnalysis.h.
|
private |
Definition at line 135 of file CastorPedestalAnalysis.h.