L3MuonTrajectorySeed

Macros

Line Code
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51
#ifndef DataFormats_MuonSeed_L3MuonTrajectorySeed_H
#define DataFormats_MuonSeed_L3MuonTrajectorySeed_H

/** \class L3MuonTrajectorySeed
 *  Concrete class for the seed used by the second level of the muon HLT.
 *  It stores the information (and the link) from the L1 particle 
 *
 *  \author  J.-R. Vlimant 
 */

#include "DataFormats/TrajectorySeed/interface/TrajectorySeed.h"
#include "DataFormats/L1Trigger/interface/L1MuonParticleFwd.h"
#include "DataFormats/TrackReco/interface/TrackFwd.h"
#include "DataFormats/L1Trigger/interface/Muon.h"

class L3MuonTrajectorySeed : public TrajectorySeed {
public:
  /// Default constructor
  L3MuonTrajectorySeed() {}

  /// Constructor with L1 ref
  L3MuonTrajectorySeed(const TrajectorySeed& base, const l1extra::L1MuonParticleRef& l1Ref)
      : TrajectorySeed(base), theL1Particle(l1Ref) {}

  /// Constructor with L1T ref
  L3MuonTrajectorySeed(const TrajectorySeed& base, const l1t::MuonRef& l1Ref)
      : TrajectorySeed(base), theL1TParticle(l1Ref) {}

  /// Constructor with L2 ref
  L3MuonTrajectorySeed(const TrajectorySeed& base, const reco::TrackRef& l2Ref)
      : TrajectorySeed(base), theL2Track(l2Ref) {}

  /// Destructor
  ~L3MuonTrajectorySeed() override {}

  //accessors

  /// Get L1 info
  inline l1extra::L1MuonParticleRef l1Particle() const { return theL1Particle; }
  inline l1t::MuonRef l1tParticle() const { return theL1TParticle; }

  /// Get L2 info
  inline reco::TrackRef l2Track() const { return theL2Track; }

protected:
private:
  l1extra::L1MuonParticleRef theL1Particle;
  l1t::MuonRef theL1TParticle;
  reco::TrackRef theL2Track;
};
#endif