Back to home page

Project CMSSW displayed by LXR

 
 

    


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

0001 #ifndef DataFormatsL1TCorrelator_TkBsCandidate_h
0002 #define DataFormatsL1TCorrelator_TkBsCandidate_h
0003 
0004 // -*- C++ -*-
0005 //
0006 // Package:     DataFormats/L1TCorrelator
0007 // Class:       TkBsCandidate
0008 //
0009 
0010 #include "DataFormats/Common/interface/Ref.h"
0011 #include "DataFormats/Common/interface/Ptr.h"
0012 
0013 #include "DataFormats/L1Trigger/interface/L1Candidate.h"
0014 #include "DataFormats/L1TCorrelator/interface/TkPhiCandidate.h"
0015 #include "DataFormats/L1TCorrelator/interface/TkPhiCandidateFwd.h"
0016 #include "DataFormats/L1TrackTrigger/interface/TTTypes.h"
0017 
0018 namespace l1t {
0019   class TkBsCandidate : public L1Candidate {
0020   public:
0021     TkBsCandidate();
0022     TkBsCandidate(const LorentzVector& p4, TkPhiCandidate cand1, TkPhiCandidate cand2);
0023 
0024     // ---------- const member functions ---------------------
0025     const TkPhiCandidate& phiCandidate(size_t i) const { return phiCandList_.at(i); }
0026 
0027     // ---------- member functions ---------------------------
0028 
0029     // deltaR between track pair
0030     double dRPhiPair() const;
0031 
0032     // position difference between track pair
0033     double dxyPhiPair() const;
0034     double dzPhiPair() const;
0035 
0036   private:
0037     TkPhiCandidateCollection phiCandList_;
0038   };
0039 }  // namespace l1t
0040 #endif