1 #ifndef JetAnalyzer_HeavyIons_matching_H
2 #define JetAnalyzer_HeavyIons_matching_H
149 MyJet jet1_pair1 = A1.first;
150 MyJet jet2_pair1 = A1.second;
151 MyJet jet1_pair2 = A2.first;
152 MyJet jet2_pair2 = A2.second;
156 return ((delr1 < delr2) && (jet1_pair1.
pt > jet1_pair2.
pt));
163 typedef std::multiset< ABJetPair >::iterator
ABItr;
165 static float deltaRR(
float eta1,
float phi1,
float eta2,
float phi2)
167 float deta = eta1 - eta2;
168 float dphi = fabs(phi1 - phi2);
170 float dr =
sqrt(deta*deta + dphi*dphi);
MonitorElement * mNeutralEmEnergy_Jet2_unmatched
MonitorElement * mpT_Jet2_unmatched
MonitorElement * mNeutralEmEnergy_Jet1_unmatched
edm::EDGetTokenT< reco::PFJetCollection > pfJetsToken_
MonitorElement * mpT_Jet1_matched
MonitorElement * mpT_ratio_Jet1Jet2
std::multiset< ABJetPair, CompareMatchedJets > ABMatchedJets
MonitorElement * mEmEnergy_Jet1_unmatched
MonitorElement * mHadEnergy_Jet1_unmatched
MonitorElement * mChargedEmEnergy_Jet1_unmatched
MonitorElement * mChargedMuEnergy_Jet1_unmatched
MonitorElement * mpT_Jet2_matched
edm::InputTag mInputJet1Collection
MonitorElement * mNeutralHadronEnergy_Jet1_unmatched
void analyze(const edm::Event &, const edm::EventSetup &) override
virtual ~JetAnalyzer_HeavyIons_matching()
MonitorElement * mChargedHadronEnergy_Jet1_unmatched
edm::InputTag mInputJet2Collection
double mRecoJetPtThreshold
bool operator()(const ABJetPair &A1, const ABJetPair &A2)
A-B jet match.
MonitorElement * mChargedMuEnergy_Jet2_unmatched
MonitorElement * mHadEnergy_Jet2_unmatched
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
edm::EDGetTokenT< reco::CaloJetCollection > caloJet1Token_
static float deltaRR(float eta1, float phi1, float eta2, float phi2)
MonitorElement * mChargedHadronEnergy_Jet2_unmatched
MonitorElement * mpT_Jet1_unmatched
JetAnalyzer_HeavyIons_matching(const edm::ParameterSet &)
MonitorElement * mNeutralHadronEnergy_Jet2_unmatched
std::pair< MyJet, MyJet > ABJetPair
std::multiset< ABJetPair >::iterator ABItr
edm::EDGetTokenT< reco::JPTJetCollection > jptJetsToken_
edm::EDGetTokenT< reco::CaloJetCollection > caloJet2Token_
MonitorElement * mChargedEmEnergy_Jet2_unmatched
MonitorElement * mEmEnergy_Jet2_unmatched
edm::EDGetTokenT< reco::BasicJetCollection > basicJetsToken_