Back to home page

Project CMSSW displayed by LXR

 
 

    


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

0001 #ifndef DataFormats_MuonSeed_L2MuonTrajectorySeed_H
0002 #define DataFormats_MuonSeed_L2MuonTrajectorySeed_H
0003 
0004 /** \class L2MuonTrajectorySeed
0005  *  Concrete class for the seed used by the second level of the muon HLT.
0006  *  It stores the information (and the link) from the L1 particle 
0007  *
0008  *  \author R. Bellan - INFN Torino <riccardo.bellan@cern.ch>
0009  */
0010 
0011 #include "DataFormats/TrajectorySeed/interface/TrajectorySeed.h"
0012 #include "DataFormats/L1Trigger/interface/L1MuonParticleFwd.h"
0013 #include "DataFormats/L1Trigger/interface/Muon.h"
0014 #include "DataFormats/TrajectorySeed/interface/PropagationDirection.h"
0015 #include "DataFormats/TrajectoryState/interface/PTrajectoryStateOnDet.h"
0016 
0017 class L2MuonTrajectorySeed : public TrajectorySeed {
0018 public:
0019   /// Default constructor
0020   L2MuonTrajectorySeed();
0021 
0022   /// Constructor
0023   L2MuonTrajectorySeed(PTrajectoryStateOnDet const& ptsos,
0024                        RecHitContainer const& rh,
0025                        PropagationDirection dir,
0026                        l1extra::L1MuonParticleRef l1Ref);
0027 
0028   /// Constructor for stage2 L1
0029   L2MuonTrajectorySeed(PTrajectoryStateOnDet const& ptsos,
0030                        RecHitContainer const& rh,
0031                        PropagationDirection dir,
0032                        l1t::MuonRef l1Ref);
0033 
0034   /// Destructor
0035   ~L2MuonTrajectorySeed() override{};
0036 
0037   // Operations
0038 
0039   /// Get L1 info
0040   inline l1extra::L1MuonParticleRef l1Particle() const { return theL1Particle; }
0041   inline l1t::MuonRef l1tParticle() const { return theL1TParticle; }
0042 
0043 protected:
0044 private:
0045   l1extra::L1MuonParticleRef theL1Particle;
0046   l1t::MuonRef theL1TParticle;
0047 };
0048 #endif