317 |
|
}//fillPartons |
318 |
|
|
319 |
|
|
320 |
< |
std::pair<int,unsigned int> JetFlavour::partonMatchingGenJet(const pat::Jet & aJet, const edm::Handle<reco::GenParticleCollection> & aGenParticles, double aDR){//parton match with gen jet |
320 |
> |
const std::pair<int,unsigned int> JetFlavour::partonMatchingGenJet(const pat::Jet & aJet, const edm::Handle<reco::GenParticleCollection> & aGenParticles, const double aDR) const{//parton match with gen jet |
321 |
|
|
322 |
|
int aIndex = -1; |
323 |
|
double deltaRMin = 1000; |
337 |
|
|
338 |
|
}//parton match with gen jet |
339 |
|
|
340 |
< |
unsigned int JetFlavour::leptonMatchingGenJet(const pat::Jet & aJet, const edm::Handle<reco::GenParticleCollection> & aGenParticles, double aDR){//lepton match with gen jet |
340 |
> |
const unsigned int JetFlavour::leptonMatchingGenJet(const pat::Jet & aJet, const edm::Handle<reco::GenParticleCollection> & aGenParticles, const double aDR) const{//lepton match with gen jet |
341 |
|
|
342 |
|
int aIndex = -1; |
343 |
|
double deltaRMin = 1000; |
373 |
|
|
374 |
|
}//lepton match with gen jet |
375 |
|
|
376 |
< |
unsigned int JetFlavour::partonMatchingRecoJet(const pat::Jet & aJet, const edm::Handle<reco::GenParticleCollection> & aGenParticles, double aDR){//parton match with reco jet |
376 |
> |
const unsigned int JetFlavour::partonMatchingRecoJet(const pat::Jet & aJet, const edm::Handle<reco::GenParticleCollection> & aGenParticles, const double aDR) const{//parton match with reco jet |
377 |
|
|
378 |
|
int aIndex = -1; |
379 |
|
double deltaRMin = 1000; |
391 |
|
|
392 |
|
}//parton match with reco jet |
393 |
|
|
394 |
< |
unsigned int JetFlavour::leptonMatchingRecoJet(const pat::Jet & aJet, const edm::Handle<reco::GenParticleCollection> & aGenParticles, double aDR){//lepton match with reco jet |
394 |
> |
const unsigned int JetFlavour::leptonMatchingRecoJet(const pat::Jet & aJet, const edm::Handle<reco::GenParticleCollection> & aGenParticles, const double aDR) const{//lepton match with reco jet |
395 |
|
|
396 |
|
int aIndex = -1; |
397 |
|
double deltaRMin = 1000; |
455 |
|
|
456 |
|
} |
457 |
|
|
458 |
< |
void JetFlavour::printSummary() { |
458 |
> |
void JetFlavour::printSummary() const{ |
459 |
|
|
460 |
|
std::cout << |
461 |
|
"=====================================================================" << std::endl << |