4 : monitorDir(ps.getUntrackedParameter<
std::
string>(
"monitorDir",
"")),
5 collection1Title(ps.getUntrackedParameter<
std::
string>(
"collection1Title")),
6 collection2Title(ps.getUntrackedParameter<
std::
string>(
"collection2Title")),
94 bool eventGood =
true;
128 bool eventGood =
true;
140 if (col1It != col1->
end() ||
141 col2It != col2->
end()) {
147 if (col1It->hwPt() != col2It->hwPt()) {
153 if (col1It->hwPhi() != col2It->hwPhi()){
159 if (col1It->hwEta() != col2It->hwEta()) {
173 if (col1It == col1->
end() ||
174 col2It == col2->
end())
178 if (col1->
size() != 0 || col2->
size() != 0) {
194 bool eventGood =
true;
206 if (col1It != col1->
end() ||
207 col2It != col2->
end()) {
212 if (col1It->hwPt() != col2It->hwPt()) {
218 if (col1It->hwPhi() != col2It->hwPhi()) {
224 if (col1It->hwEta() != col2It->hwEta()) {
238 if (col1It == col1->
end() ||
239 col2It == col2->
end())
243 if (col1->
size() != 0 || col2->
size() != 0) {
259 bool eventGood =
true;
271 if (col1It != col1->
end() ||
272 col2It != col2->
end()) {
276 if (col1It->hwPt() != col2It->hwPt()) {
282 if (col1It->hwPhi() != col2It->hwPhi()) {
288 if (col1It->hwEta() != col2It->hwEta()) {
302 if (col1It == col1->
end() ||
303 col2It == col2->
end())
307 if (col1->
size() != 0 || col2->
size() != 0) {
323 bool eventGood =
true;
340 while (col1It != col1->
end() && col2It != col2->
end()) {
352 col1Et = col1It->hwPt();
353 col2Et = col2It->hwPt();
355 if (col1Et != col2Et) {
370 col1Et = col1It->hwPt();
371 col2Et = col2It->hwPt();
373 col1Phi = col1It->hwPhi();
374 col2Phi = col2It->hwPhi();
376 if ((col1Et != col2Et) || (col1Phi != col2Phi)) {
BXVector< EGamma > EGammaBxCollection
const_iterator end(int bx) const
bool compareTaus(const edm::Handle< l1t::TauBxCollection > &col1, const edm::Handle< l1t::TauBxCollection > &col2)
unsigned size(int bx) const
bool getByToken(EDGetToken token, Handle< PROD > &result) const
edm::EDGetTokenT< l1t::EtSumBxCollection > EtSumCollection1
void setBinLabel(int bin, const std::string &label, int axis=1)
set bin label for x, y or z axis (axis=1, 2, 3 respectively)
edm::EDGetTokenT< l1t::EGammaBxCollection > EGammaCollection1
BXVector< Tau > TauBxCollection
bool compareSums(const edm::Handle< l1t::EtSumBxCollection > &col1, const edm::Handle< l1t::EtSumBxCollection > &col2)
edm::EDGetTokenT< l1t::TauBxCollection > TauCollection1
BXVector< EtSum > EtSumBxCollection
std::string collection1Title
void setCurrentFolder(std::string const &fullpath)
MonitorElement * book1D(Args &&...args)
MonitorElement * comparisonDenum
edm::EDGetTokenT< l1t::TauBxCollection > TauCollection2
edm::EDGetTokenT< l1t::JetBxCollection > JetCollection2
BXVector< Jet > JetBxCollection
bool compareJets(const edm::Handle< l1t::JetBxCollection > &col1, const edm::Handle< l1t::JetBxCollection > &col2)
void bookHistograms(DQMStore::IBooker &, const edm::Run &, const edm::EventSetup &) override
MonitorElement * comparisonNum
edm::EDGetTokenT< l1t::EGammaBxCollection > EGammaCollection2
edm::EDGetTokenT< l1t::EtSumBxCollection > EtSumCollection2
std::string collection2Title
L1TStage2uGTCaloLayer2Comp(const edm::ParameterSet &ps)
edm::EDGetTokenT< l1t::JetBxCollection > JetCollection1
void analyze(const edm::Event &, const edm::EventSetup &) override
bool compareEGs(const edm::Handle< l1t::EGammaBxCollection > &col1, const edm::Handle< l1t::EGammaBxCollection > &col2)
const_iterator begin(int bx) const
std::vector< T >::const_iterator const_iterator