CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_0/src/DataFormats/L1DTTrackFinder/interface/L1MuDTChambPhContainer.h

Go to the documentation of this file.
00001 //-------------------------------------------------
00002 //
00003 //   Class L1MuDTChambPhContainer
00004 //
00005 //   Description: input data for PHTF trigger
00006 //
00007 //
00008 //   Author List: Jorge Troconiz  UAM Madrid
00009 //
00010 //
00011 //--------------------------------------------------
00012 #ifndef L1MuDTChambPhContainer_H
00013 #define L1MuDTChambPhContainer_H
00014 
00015 //------------------------------------
00016 // Collaborating Class Declarations --
00017 //------------------------------------
00018 #include "DataFormats/L1DTTrackFinder/interface/L1MuDTChambPhDigi.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 L1MuDTChambPhContainer {
00035 
00036  public:
00037 
00038   typedef std::vector<L1MuDTChambPhDigi>  Phi_Container;
00039   typedef Phi_Container::const_iterator   Phi_iterator;
00040 
00041   //  Constructors
00042   L1MuDTChambPhContainer();
00043 
00044   //  Destructor
00045   ~L1MuDTChambPhContainer();
00046 
00047   void setContainer(Phi_Container inputSegments);
00048 
00049   Phi_Container* getContainer() const;
00050 
00051   bool bxEmpty(int step) const;
00052 
00053   int bxSize(int step1, int step2) const;
00054 
00055   L1MuDTChambPhDigi* chPhiSegm1(int wheel, int stat, int sect, int bx) const;
00056 
00057   L1MuDTChambPhDigi* chPhiSegm2(int wheel, int stat, int sect, int bx) const;
00058 
00059  private:
00060 
00061   Phi_Container phiSegments; 
00062 
00063 };
00064 
00065 #endif