14 : csctpgSource_( ps.getParameter<
InputTag >(
"csctpgSource") ),
21 if(
verbose_)
cout <<
"L1TCSCTPG: constructor...." << endl;
33 cout <<
"L1T Monitoring histograms will be saved to " <<
outputFile_.c_str() << endl;
71 "CSC TPG hit pattern", 8, -0.5, 7.5 ) ;
73 "CSC TPG quality", 16, 0.5, 16.5 ) ;
75 "CSC TPG wire group", 116, -0.5, 115.5 ) ;
77 "CSC TPG strip", 160, -0.5, 159.5 ) ;
79 "CSC TPG strip type", 2, 0.5, 1.5 ) ;
81 "CSC TPG bend", 3, 0.5, 2.5 ) ;
83 "CSC TPG bx", 20, -0.5, 19.5 ) ;
95 LogInfo(
"EndJob") <<
"analyzed " <<
nev_ <<
" events";
111 if (!pCSCTPGcorrlcts.
isValid()) {
112 edm::LogInfo(
"DataNotFound") <<
"can't find CSCCorrelatedLCTDigiCollection with label "
119 cscItr1 != pCSCTPGcorrlcts->end();
124 lctItr1 != range1.second;
132 std::cout <<
"CSC TPG CLCT pattern " << lctItr1->getCLCTPattern()
139 std::cout <<
"CSC LCT quality " << lctItr1->getQuality()
146 std::cout <<
"CSC LCT wire group " << lctItr1->getKeyWG()
153 std::cout <<
"CSC LCT strip " << lctItr1->getStrip()
160 std::cout <<
"CSC LCT strip type" << lctItr1->getStripType()
167 std::cout <<
"CSC LCT bend " << lctItr1->getBend()
174 std::cout <<
"CSC LCT bx " << lctItr1->getBX()
T getUntrackedParameter(std::string const &, T const &) const
MonitorElement * csctpgwg
L1TCSCTPG(const edm::ParameterSet &ps)
void beginRun(edm::Run const &iRun, edm::EventSetup const &iSetup)
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
bool getByToken(EDGetToken token, Handle< PROD > &result) const
edm::InputTag csctpgSource_
MonitorElement * csctpgbend
void setVerbose(unsigned level)
void analyze(const edm::Event &e, const edm::EventSetup &c)
MonitorElement * csctpgbx
MonitorElement * csctpgquality
std::vector< CSCCorrelatedLCTDigi >::const_iterator const_iterator
void save(const std::string &filename, const std::string &path="", const std::string &pattern="", const std::string &rewrite="", const uint32_t run=0, const uint32_t lumi=0, SaveReferenceTag ref=SaveWithReference, int minStatus=dqm::qstatus::STATUS_OK, const std::string &fileupdate="RECREATE", const bool resetMEsAfterWriting=false)
std::pair< const_iterator, const_iterator > Range
edm::EDGetTokenT< CSCCorrelatedLCTDigiCollection > csctpgSource_token_
MonitorElement * csctpgstriptype
MonitorElement * csctpgpattern
void setCurrentFolder(const std::string &fullpath)