Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 12:53:52

0001 // -*- C++ -*-
0002 //
0003 // Package:     L1Trigger
0004 // Class  :     TkEm
0005 //
0006 
0007 #include "DataFormats/L1TCorrelator/interface/TkElectron.h"
0008 
0009 using namespace l1t;
0010 
0011 TkElectron::TkElectron() {}
0012 
0013 TkElectron::TkElectron(const LorentzVector& p4,
0014                        const edm::Ref<EGammaBxCollection>& egRef,
0015                        const edm::Ptr<L1TTTrackType>& trackPtr,
0016                        float tkisol)
0017     : TkEm(p4, egRef, tkisol, -999),
0018       trkPtr_(trackPtr)
0019 
0020 {
0021   if (trkPtr_.isNonnull()) {
0022     setTrkzVtx(trkPtr()->POCA().z());
0023   }
0024 }