28 #include "CLHEP/Units/GlobalSystemOfUnits.h"
210 bool gotZDCDigis=
true;
218 if (!(zdchandle.isValid()))
223 double totalPHADCharge=0;
224 double totalNHADCharge=0;
225 double totalPEMCharge=0;
226 double totalNEMCharge=0;
227 double totalPCharge=0;
228 double totalNCharge=0;
232 if (gotZDCDigis==
true){
234 zdc!=zdchandle->end();
247 for (
int i=0;
i<digi.
size();++
i)
269 for (
int i=0;
i<digi.
size();++
i)
295 for (
int i=0;
i<digi.
size();++
i)
321 for (
int i=0;
i<digi.
size();++
i)
348 totalPCharge=totalPHADCharge+totalPEMCharge;
349 totalNCharge=totalNHADCharge+totalNEMCharge;
T getUntrackedParameter(std::string const &, T const &) const
bool getByToken(EDGetToken token, Handle< PROD > &result) const
#define DEFINE_FWK_MODULE(type)
int zside() const
get the z-side of the cell (1/-1)
std::vector< ZDCDataFrame >::const_iterator const_iterator
MonitorElement * meZdcfCPTOT
MonitorElement * meZdcPEM1fCvsTS
MonitorElement * meZdcfCPEMvHAD
MonitorElement * meZdcPHAD2fCvsTS
MonitorElement * meZdcfCNTOT
virtual void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &)
MonitorElement * meZdcPHAD3fCvsTS
MonitorElement * meZdcfCPHAD
MonitorElement * meZdcNHAD2fCvsTS
MonitorElement * meZdcPEM3fCvsTS
const HcalQIESample & sample(int i) const
access a sample
void endRun(const edm::Run &run, const edm::EventSetup &c)
MonitorElement * book1D(Args &&...args)
MonitorElement * meZdcNHAD3fCvsTS
MonitorElement * meZdcPEM2fCvsTS
MonitorElement * meZdcNEM2fCvsTS
MonitorElement * meZdcNEM4fCvsTS
MonitorElement * meZdcNEM3fCvsTS
Section section() const
get the section
MonitorElement * meZdcPHAD1fCvsTS
MonitorElement * meZdcNHAD4fCvsTS
const HcalZDCDetId & id() const
void setCurrentFolder(const std::string &fullpath)
MonitorElement * book2D(Args &&...args)
double nominal_fC() const
get the nominal FC (no calibrations applied)
TH1F * getTH1F(void) const
int channel() const
get the channel
int size() const
total number of samples in the digi
MonitorElement * meZdcNHAD1fCvsTS
MonitorElement * meZdcfCNHAD
void analyze(const edm::Event &e, const edm::EventSetup &c)
MonitorElement * meZdcfCNEMvHAD
MonitorElement * meZdcPHAD4fCvsTS
ZDCDigiStudy(const edm::ParameterSet &ps)
TH2F * getTH2F(void) const
MonitorElement * meZdcPEM4fCvsTS
edm::EDGetTokenT< ZDCDigiCollection > tok_zdc_
void setAxisTitle(const std::string &title, int axis=1)
set x-, y- or z-axis title (axis=1, 2, 3 respectively)
MonitorElement * meZdcPEM5fCvsTS
MonitorElement * meZdcNEM1fCvsTS
MonitorElement * meZdcNEM5fCvsTS