Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:04:31

0001 // -*- C++ -*-
0002 //
0003 // Package:     L1Trigger
0004 // Class  :     TkEm
0005 //
0006 
0007 #include "DataFormats/L1TCorrelator/interface/TkTau.h"
0008 
0009 using namespace l1t;
0010 
0011 TkTau::TkTau() {}
0012 
0013 TkTau::TkTau(const LorentzVector& p4,
0014              const edm::Ref<TauBxCollection>& tauCaloRef,
0015              const edm::Ptr<L1TTTrackType>& trackPtr,
0016              const edm::Ptr<L1TTTrackType>& trackPtr2,
0017              const edm::Ptr<L1TTTrackType>& trackPtr3,
0018              float tkisol)
0019     : L1Candidate(p4),
0020       tauCaloRef_(tauCaloRef),
0021       trkPtr_(trackPtr),
0022       trkPtr2_(trackPtr2),
0023       trkPtr3_(trackPtr3),
0024       TrkIsol_(tkisol)
0025 
0026 {
0027   if (trkPtr_.isNonnull()) {
0028     setTrkzVtx(trkPtr()->POCA().z());
0029   }
0030 }