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  :     TkGlbMuon
0005 
0006 #include "DataFormats/L1TCorrelator/interface/TkGlbMuon.h"
0007 
0008 using namespace l1t;
0009 
0010 TkGlbMuon::TkGlbMuon(const LorentzVector& p4,
0011                      const edm::Ref<MuonBxCollection>& muRef,
0012                      const edm::Ptr<L1TTTrackType>& trackPtr,
0013                      float tkisol)
0014     : L1Candidate(p4), muRef_(muRef), trkPtr_(trackPtr), theIsolation(tkisol), TrkzVtx_(999), quality_(999) {
0015   if (trkPtr_.isNonnull()) {
0016     setTrkzVtx(trkPtr()->POCA().z());
0017   }
0018 }