103 std::vector <int> dummyTS;
104 for (
int i=3;
i<=6;++
i)
105 dummyTS.push_back(
i);
109 outfile_.open(
"badHcalLaserList_hbhefilter.txt");
164 Calibiter != calib_digi->
end(); ++ Calibiter)
176 thischarge+=digi[
CalibTS_[
i]].nominal_fC();
198 double badrbxfrac=0.;
199 double goodrbxfrac=0.;
201 int Ngood=2592*2-Nbad;
210 if (myid.
iphi()>=15 && myid.
iphi()<=18) isbad=
true;
211 else if (myid.
iphi()>=27 && myid.
iphi()<=34) isbad=
true;
213 if (isbad==
true) badrbxfrac+=1.;
214 else goodrbxfrac+=1.;
EventNumber_t event() const
T getUntrackedParameter(std::string const &, T const &) const
HcalLaserHBHEFilter2012(const edm::ParameterSet &)
HcalSubdetector subdet() const
get the subdetector
CalibDetType calibFlavor() const
get the flavor of this calibration detid
~HcalLaserHBHEFilter2012() override
bool getByToken(EDGetToken token, Handle< PROD > &result) const
std::vector< T >::const_iterator const_iterator
edm::LuminosityBlockNumber_t luminosityBlock() const
int minCalibChannelsHBHELaser_
bool filter(edm::Event &, const edm::EventSetup &) override
#define DEFINE_FWK_MODULE(type)
void addDefault(ParameterSetDescription const &psetDescription)
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
edm::EDGetTokenT< HBHEDigiCollection > tok_hbhe_
int ieta() const
get the cell ieta
const HcalCalibDetId & id() const
double HBHEcalibThreshold_
double minFracDiffHBHELaser_
const_iterator end() const
int iphi() const
get the cell iphi
std::vector< int > CalibTS_
const HcalDetId & id() const
bool zsMarkAndPass() const
was ZS MarkAndPass?
HcalSubdetector hcalSubdet() const
get the HcalSubdetector (if relevant)
edm::EDGetTokenT< HcalCalibDigiCollection > tok_calib_
const_iterator begin() const