17 : csctpgSource_( ps.getParameter<
InputTag >(
"csctpgSource") )
23 if(
verbose_)
cout <<
"L1TCSCTPG: constructor...." << endl;
35 cout <<
"L1T Monitoring histograms will be saved to " <<
outputFile_.c_str() << endl;
66 dbe->
rmdir(
"L1T/L1TCSCTPG");
75 "CSC TPG hit pattern", 8, -0.5, 7.5 ) ;
77 "CSC TPG quality", 16, 0.5, 16.5 ) ;
79 "CSC TPG wire group", 116, -0.5, 115.5 ) ;
81 "CSC TPG strip", 160, -0.5, 159.5 ) ;
83 "CSC TPG strip type", 2, 0.5, 1.5 ) ;
85 "CSC TPG bend", 3, 0.5, 2.5 ) ;
87 "CSC TPG bx", 20, -0.5, 19.5 ) ;
97 LogInfo(
"EndJob") <<
"analyzed " <<
nev_ <<
" events";
113 if (!pCSCTPGcorrlcts.
isValid()) {
114 edm::LogInfo(
"DataNotFound") <<
"can't find CSCCorrelatedLCTDigiCollection with label "
121 cscItr1 != pCSCTPGcorrlcts->end();
126 lctItr1 != range1.second;
134 std::cout <<
"CSC TPG CLCT pattern " << lctItr1->getCLCTPattern()
141 std::cout <<
"CSC LCT quality " << lctItr1->getQuality()
148 std::cout <<
"CSC LCT wire group " << lctItr1->getKeyWG()
155 std::cout <<
"CSC LCT strip " << lctItr1->getStrip()
162 std::cout <<
"CSC LCT strip type" << lctItr1->getStripType()
169 std::cout <<
"CSC LCT bend " << lctItr1->getBend()
176 std::cout <<
"CSC LCT bx " << lctItr1->getBX()
T getUntrackedParameter(std::string const &, T const &) const
MonitorElement * csctpgwg
L1TCSCTPG(const edm::ParameterSet &ps)
MonitorElement * book1D(const char *name, const char *title, int nchX, double lowX, double highX)
Book 1D histogram.
void rmdir(const std::string &fullpath)
MonitorElement * csctpgstrip
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")
edm::InputTag csctpgSource_
MonitorElement * csctpgbend
void setVerbose(unsigned level)
void analyze(const edm::Event &e, const edm::EventSetup &c)
MonitorElement * csctpgbx
bool getByLabel(InputTag const &tag, Handle< PROD > &result) const
MonitorElement * csctpgquality
std::vector< DigiType >::const_iterator const_iterator
std::pair< const_iterator, const_iterator > Range
MonitorElement * csctpgstriptype
MonitorElement * csctpgpattern
void setCurrentFolder(const std::string &fullpath)