Back to home page

Project CMSSW displayed by LXR

 
 

    


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

0001 //-------------------------------------------------
0002 //
0003 //   Class L1MuDTTrackContainer
0004 //
0005 //   Description: output data for DTTF trigger
0006 //
0007 //
0008 //   Author List: Jorge Troconiz  UAM Madrid
0009 //
0010 //
0011 //--------------------------------------------------
0012 #ifndef L1MuDTTrackContainer_H
0013 #define L1MuDTTrackContainer_H
0014 
0015 //------------------------------------
0016 // Collaborating Class Declarations --
0017 //------------------------------------
0018 #include "DataFormats/L1DTTrackFinder/interface/L1MuDTTrackCand.h"
0019 
0020 //----------------------
0021 // Base Class Headers --
0022 //----------------------
0023 #include <vector>
0024 
0025 //---------------
0026 // C++ Headers --
0027 //---------------
0028 
0029 //              ---------------------
0030 //              -- Class Interface --
0031 //              ---------------------
0032 
0033 class L1MuDTTrackContainer {
0034 public:
0035   typedef std::vector<L1MuDTTrackCand> TrackContainer;
0036   typedef TrackContainer::const_iterator Trackiterator;
0037   typedef TrackContainer::iterator TrackIterator;
0038 
0039   //  Constructors
0040   L1MuDTTrackContainer();
0041 
0042   //  Destructor
0043   ~L1MuDTTrackContainer();
0044 
0045   void setContainer(const TrackContainer& inputTracks);
0046 
0047   TrackContainer const* getContainer() const;
0048 
0049   bool bxEmpty(int step) const;
0050 
0051   int bxSize(int step1, int step2) const;
0052 
0053   L1MuDTTrackCand const* dtTrackCand1(int wheel, int sect, int bx) const;
0054 
0055   L1MuDTTrackCand const* dtTrackCand2(int wheel, int sect, int bx) const;
0056 
0057 private:
0058   TrackContainer dtTracks;
0059 };
0060 
0061 #endif