28 #include "CLHEP/Units/GlobalSystemOfUnits.h" 210 bool gotZDCDigis=
true;
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){
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+(0.1)*totalPEMCharge;
349 totalNCharge=totalNHADCharge+(0.1)*totalNEMCharge;
T getUntrackedParameter(std::string const &, T const &) const
bool getByToken(EDGetToken token, Handle< PROD > &result) const
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
int zside() const
get the z-side of the cell (1/-1)
std::vector< T >::const_iterator const_iterator
MonitorElement * meZdcfCPTOT
MonitorElement * meZdcPEM1fCvsTS
MonitorElement * meZdcfCPEMvHAD
MonitorElement * meZdcPHAD2fCvsTS
MonitorElement * meZdcfCNTOT
MonitorElement * meZdcPHAD3fCvsTS
MonitorElement * meZdcfCPHAD
MonitorElement * meZdcNHAD2fCvsTS
void analyze(const edm::Event &e, const edm::EventSetup &c) override
MonitorElement * meZdcPEM3fCvsTS
#define DEFINE_FWK_MODULE(type)
void setCurrentFolder(std::string const &fullpath)
const HcalQIESample & sample(int i) const
access a sample
MonitorElement * book1D(Args &&...args)
MonitorElement * meZdcNHAD3fCvsTS
MonitorElement * meZdcPEM2fCvsTS
MonitorElement * meZdcNEM2fCvsTS
MonitorElement * meZdcNEM4fCvsTS
MonitorElement * meZdcNEM3fCvsTS
constexpr double nominal_fC() const
get the nominal FC (no calibrations applied)
MonitorElement * meZdcPHAD1fCvsTS
const_iterator end() const
MonitorElement * meZdcNHAD4fCvsTS
const HcalZDCDetId & id() const
MonitorElement * book2D(Args &&...args)
void endRun(const edm::Run &run, const edm::EventSetup &c) override
int channel() const
get the channel
int size() const
total number of samples in the digi
MonitorElement * meZdcNHAD1fCvsTS
Section section() const
get the section
MonitorElement * meZdcfCNHAD
MonitorElement * meZdcfCNEMvHAD
MonitorElement * meZdcPHAD4fCvsTS
ZDCDigiStudy(const edm::ParameterSet &ps)
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
const_iterator begin() const
MonitorElement * meZdcNEM5fCvsTS