File indexing completed on 2024-04-06 12:04:39
0001
0002 #include "DataFormats/L1Trigger/interface/L1Candidate.h"
0003
0004 l1t::L1Candidate::L1Candidate() : hwPt_(0), hwEta_(0), hwPhi_(0), hwQual_(0), hwIso_(0) {}
0005
0006 l1t::L1Candidate::L1Candidate(const LorentzVector& p4, int pt, int eta, int phi, int qual, int iso)
0007 : LeafCandidate((char)0, p4), hwPt_(pt), hwEta_(eta), hwPhi_(phi), hwQual_(qual), hwIso_(iso) {}
0008
0009 l1t::L1Candidate::L1Candidate(const PolarLorentzVector& p4, int pt, int eta, int phi, int qual, int iso)
0010 : LeafCandidate((char)0, p4), hwPt_(pt), hwEta_(eta), hwPhi_(phi), hwQual_(qual), hwIso_(iso) {}
0011
0012 l1t::L1Candidate::~L1Candidate() {}
0013
0014 bool l1t::L1Candidate::operator==(const l1t::L1Candidate& rhs) const {
0015 return hwPt_ == rhs.hwPt() && hwEta_ == rhs.hwEta() && hwPhi_ == rhs.hwPhi() && hwQual_ == rhs.hwQual() &&
0016 hwIso_ == rhs.hwIso();
0017 }