95 ecaltpgSourceB_(ps.getParameter<edm::
InputTag>(
"ecaltpgSourceB")),
96 ecaltpgSourceE_(ps.getParameter<edm::
InputTag>(
"ecaltpgSourceE"))
106 std::cout <<
"L1TECALTPG: constructor...." << std::endl;
118 std::cout <<
"L1T Monitoring histograms will be saved to "
151 dbe->
rmdir(
"L1T/L1TECALTPG");
184 std::cout <<
"L1TECALTPG: end job...." << std::endl;
185 LogInfo(
"EndJob") <<
"analyzed " <<
nev_ <<
" events";
197 std::cout <<
"L1TECALTPG: analyze...." << std::endl;
209 edm::LogInfo(
"DataNotFound") <<
"can't find EcalTrigPrimCollection with "
215 edm::LogInfo(
"DataNotFound") <<
"can't find EcalTrigPrimCollection with "
222 std::cout <<
"L1TECALTPG: barrel size is " << ebTP->size() << std::endl;
223 std::cout <<
"L1TECALTPG: endcap size is " << eeTP->size() << std::endl;
227 iebTP != ebTP->end(); iebTP++) {
229 std::cout <<
"barrel: " << iebTP->id().iphi() <<
", "
230 << iebTP->id().ieta()
234 iebTP->compressedEt());
243 ieeTP != eeTP->end(); ieeTP++) {
245 std::cout <<
"endcap: " << ieeTP->id().iphi() <<
", "
246 << ieeTP->id().ieta()
250 ieeTP->compressedEt());
void analyze(const edm::Event &e, const edm::EventSetup &c)
MonitorElement * ecalTpEtEtaPhiB_
const unsigned int RTPBINS
MonitorElement * ecalTpEtEtaPhiE_
T getUntrackedParameter(std::string const &, T const &) const
MonitorElement * book1D(const char *name, const char *title, int nchX, double lowX, double highX)
Book 1D histogram.
void rmdir(const std::string &fullpath)
L1TECALTPG(const edm::ParameterSet &ps)
void save(const std::string &filename, const std::string &path="", const std::string &pattern="", const std::string &rewrite="", SaveReferenceTag ref=SaveWithReference, int minStatus=dqm::qstatus::STATUS_OK, const std::string &fileupdate="RECREATE")
std::vector< T >::const_iterator const_iterator
const unsigned int TPPHIBINS
edm::InputTag ecaltpgSourceB_
MonitorElement * ecalTpRankE_
const unsigned int TPETABINS
MonitorElement * ecalTpRankB_
void setVerbose(unsigned level)
MonitorElement * ecalTpOccEtaPhiB_
bool getByLabel(InputTag const &tag, Handle< PROD > &result) const
MonitorElement * ecalTpOccEtaPhiE_
edm::InputTag ecaltpgSourceE_
MonitorElement * book2D(const char *name, const char *title, int nchX, double lowX, double highX, int nchY, double lowY, double highY)
Book 2D histogram.
void setCurrentFolder(const std::string &fullpath)