1 #ifndef JetAnalyzer_HeavyIons_matching_H 2 #define JetAnalyzer_HeavyIons_matching_H 150 MyJet jet1_pair1 = A1.first;
151 MyJet jet2_pair1 = A1.second;
152 MyJet jet1_pair2 = A2.first;
153 MyJet jet2_pair2 = A2.second;
157 return ((delr1 < delr2) && (jet1_pair1.
pt > jet1_pair2.
pt));
162 typedef std::multiset<ABJetPair>::iterator
ABItr;
166 float dphi = fabs(phi1 - phi2);
169 float dr =
sqrt(deta * deta + dphi * dphi);
MonitorElement * mNeutralEmEnergy_Jet2_unmatched
MonitorElement * mChargedHadEnergyFraction_Jet2_unmatched
MonitorElement * mpT_Jet2_unmatched
MonitorElement * mNeutralEmEnergy_Jet1_unmatched
edm::EDGetTokenT< reco::PFJetCollection > pfJetsToken_
~JetAnalyzer_HeavyIons_matching() override
MonitorElement * mpT_Jet1_matched
MonitorElement * mpT_ratio_Jet1Jet2
MonitorElement * mEmEnergy_Jet1_unmatched
bool operator()(const ABJetPair &A1, const ABJetPair &A2) const
A-B jet match.
MonitorElement * mHadEnergy_Jet1_unmatched
MonitorElement * mChargedEmEnergy_Jet1_unmatched
MonitorElement * mChargedMuEnergy_Jet1_unmatched
MonitorElement * mpT_Jet2_matched
edm::InputTag mInputJet1Collection
MonitorElement * mNeutralHadronEnergy_Jet1_unmatched
MonitorElement * mNeutralHadEnergyFraction_Jet1_unmatched
void analyze(const edm::Event &, const edm::EventSetup &) override
MonitorElement * mPhotonEnergyFraction_Jet1_unmatched
std::pair< MyJet, MyJet > ABJetPair
MonitorElement * mChargedHadronEnergy_Jet1_unmatched
edm::InputTag mInputJet2Collection
MonitorElement * mElectronEnergyFraction_Jet1_unmatched
MonitorElement * mNeutralHadEnergyFraction_Jet2_unmatched
double mRecoJetPtThreshold
MonitorElement * mPhotonEnergyFraction_Jet2_unmatched
MonitorElement * mElectronEnergyFraction_Jet2_unmatched
MonitorElement * mChargedMuEnergy_Jet2_unmatched
MonitorElement * mHadEnergy_Jet2_unmatched
std::multiset< ABJetPair >::iterator ABItr
MonitorElement * mChargedHadEnergyFraction_Jet1_unmatched
MonitorElement * mMuonEnergyFraction_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
MonitorElement * mMuonEnergyFraction_Jet1_unmatched
edm::EDGetTokenT< reco::JPTJetCollection > jptJetsToken_
edm::EDGetTokenT< reco::CaloJetCollection > caloJet2Token_
MonitorElement * mChargedEmEnergy_Jet2_unmatched
std::multiset< ABJetPair, CompareMatchedJets > ABMatchedJets
MonitorElement * mEmEnergy_Jet2_unmatched
edm::EDGetTokenT< reco::BasicJetCollection > basicJetsToken_