CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_4_1_8_patch9/src/DataFormats/L1DTTrackFinder/interface/L1MuDTTrackContainer.h

Go to the documentation of this file.
00001 //-------------------------------------------------
00002 //
00003 //   Class L1MuDTTrackContainer
00004 //
00005 //   Description: output data for DTTF trigger
00006 //
00007 //
00008 //   Author List: Jorge Troconiz  UAM Madrid
00009 //
00010 //
00011 //--------------------------------------------------
00012 #ifndef L1MuDTTrackContainer_H
00013 #define L1MuDTTrackContainer_H
00014 
00015 //------------------------------------
00016 // Collaborating Class Declarations --
00017 //------------------------------------
00018 #include "DataFormats/L1DTTrackFinder/interface/L1MuDTTrackCand.h"
00019 
00020 //----------------------
00021 // Base Class Headers --
00022 //----------------------
00023 #include <vector>
00024 
00025 //---------------
00026 // C++ Headers --
00027 //---------------
00028 
00029 //              ---------------------
00030 //              -- Class Interface --
00031 //              ---------------------
00032 
00033 
00034 class L1MuDTTrackContainer {
00035 
00036  public:
00037 
00038   typedef std::vector<L1MuDTTrackCand>    TrackContainer;
00039   typedef TrackContainer::const_iterator  Trackiterator;
00040   typedef TrackContainer::iterator        TrackIterator;
00041 
00042   //  Constructors
00043   L1MuDTTrackContainer();
00044 
00045   //  Destructor
00046   ~L1MuDTTrackContainer();
00047 
00048   void setContainer(TrackContainer inputTracks);
00049 
00050   TrackContainer* getContainer() const;
00051 
00052   bool bxEmpty(int step) const;
00053 
00054   int bxSize(int step1, int step2) const;
00055 
00056   L1MuDTTrackCand* dtTrackCand1(int wheel, int sect, int bx) const;
00057 
00058   L1MuDTTrackCand* dtTrackCand2(int wheel, int sect, int bx) const;
00059 
00060 
00061  private:
00062 
00063   TrackContainer dtTracks; 
00064 
00065 };
00066 
00067 #endif