32 using namespace trigger;
33 using namespace l1extra;
35 typedef std::vector<LeafCandidate> LeafCandidateCollection;
40 double matchingR = 0.5;
59 for(
unsigned int iL1Tau=0; iL1Tau <
tauCandRefVec.size();iL1Tau++)
61 for(
unsigned int iJet=0;iJet<tauJets->size();iJet++)
64 const Candidate & myJet = (*tauJets)[iJet];
71 tauL2jets->push_back(myCaloJet);
78 for(
unsigned int iL1Tau=0; iL1Tau <
jetCandRefVec.size();iL1Tau++)
80 for(
unsigned int iJet=0;iJet<tauJets->size();iJet++)
82 const Candidate & myJet = (*tauJets)[iJet];
90 tauL2jets->push_back(myCaloJet);
100 iEvent.
put(tauL2jets);
Jets made from CaloTowers.
virtual double pt() const =0
transverse momentum
std::vector< l1extra::L1JetParticleRef > tauCandRefVec
OrphanHandle< PROD > put(std::auto_ptr< PROD > product)
Put a new product.
bool getByLabel(InputTag const &tag, Handle< PROD > &result) const
double deltaR(double eta1, double eta2, double phi1, double phi2)
XYZPointD XYZPoint
point in space with cartesian internal representation
std::vector< l1extra::L1JetParticleRef > jetCandRefVec
std::vector< CaloJet > CaloJetCollection
collection of CaloJet objects
virtual const LorentzVector & p4() const =0
four-momentum Lorentz vector