116 outfile_.open(
"badHcalLaserList_hcalfilter.txt");
171 Calibiter != calib_digi->
end(); ++ Calibiter) {
182 thischarge+=digi[
CalibTS_[
i]].nominal_fC();
215 double badrbxfrac=0.;
216 double goodrbxfrac=0.;
218 int Ngood=2592*2-Nbad;
227 if (myid.
iphi()>=15 && myid.
iphi()<=18) isbad=
true;
228 else if (myid.
iphi()>=27 && myid.
iphi()<=34) isbad=
true;
230 if (isbad==
true) badrbxfrac+=1.;
231 else goodrbxfrac+=1.;
T getParameter(std::string const &) const
EventNumber_t event() const
T getUntrackedParameter(std::string const &, T const &) const
int minCalibChannelsHFLaser_
bool filter(edm::Event &, const edm::EventSetup &) override
HcalSubdetector subdet() const
get the subdetector
CalibDetType calibFlavor() const
get the flavor of this calibration detid
bool getByToken(EDGetToken token, Handle< PROD > &result) const
std::vector< T >::const_iterator const_iterator
edm::LuminosityBlockNumber_t luminosityBlock() const
edm::EDGetTokenT< HcalCalibDigiCollection > tok_calib_
~HcalLaserHBHEHFFilter2012() override
#define DEFINE_FWK_MODULE(type)
void addDefault(ParameterSetDescription const &psetDescription)
std::vector< int > CalibTS_
double minFracDiffHBHELaser_
HcalLaserHBHEHFFilter2012(const edm::ParameterSet &)
int ieta() const
get the cell ieta
const HcalCalibDetId & id() const
edm::EDGetTokenT< HBHEDigiCollection > tok_hbhe_
double HBHEcalibThreshold_
const_iterator end() const
int iphi() const
get the cell iphi
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
const HcalDetId & id() const
bool zsMarkAndPass() const
was ZS MarkAndPass?
HcalSubdetector hcalSubdet() const
get the HcalSubdetector (if relevant)
int minCalibChannelsHBHELaser_
const_iterator begin() const