1 #ifndef JetAnalyzer_HeavyIons_matching_H 2 #define JetAnalyzer_HeavyIons_matching_H 162 MyJet jet1_pair1 = A1.first;
163 MyJet jet2_pair1 = A1.second;
164 MyJet jet1_pair2 = A2.first;
165 MyJet jet2_pair2 = A2.second;
169 return ((delr1 < delr2) && (jet1_pair1.
pt > jet1_pair2.
pt));
176 typedef std::multiset< ABJetPair >::iterator
ABItr;
178 static float deltaRR(
float eta1,
float phi1,
float eta2,
float phi2)
180 float deta = eta1 - eta2;
181 float dphi = fabs(phi1 - phi2);
183 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_
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
MonitorElement * mNeutralHadEnergyFraction_Jet1_unmatched
void analyze(const edm::Event &, const edm::EventSetup &) override
MonitorElement * mPhotonEnergyFraction_Jet1_unmatched
virtual ~JetAnalyzer_HeavyIons_matching()
MonitorElement * mChargedHadronEnergy_Jet1_unmatched
edm::InputTag mInputJet2Collection
MonitorElement * mElectronEnergyFraction_Jet1_unmatched
MonitorElement * mNeutralHadEnergyFraction_Jet2_unmatched
double mRecoJetPtThreshold
MonitorElement * mPhotonEnergyFraction_Jet2_unmatched
bool operator()(const ABJetPair &A1, const ABJetPair &A2)
A-B jet match.
MonitorElement * mElectronEnergyFraction_Jet2_unmatched
MonitorElement * mChargedMuEnergy_Jet2_unmatched
MonitorElement * mHadEnergy_Jet2_unmatched
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
std::pair< MyJet, MyJet > ABJetPair
MonitorElement * mMuonEnergyFraction_Jet1_unmatched
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_