Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:21:20

0001 //-------------------------------------------------
0002 //
0003 //   Class L1MuTMChambPhContainer
0004 //
0005 //   Description: input data for PHTF trigger
0006 //
0007 //
0008 //   Author List: Jorge Troconiz, George Karathanasis
0009 //
0010 //
0011 //--------------------------------------------------
0012 #ifndef L1T_TwinMux_L1MuTMChambPhContainer_H
0013 #define L1T_TwinMux_L1MuTMChambPhContainer_H
0014 
0015 //------------------------------------
0016 // Collaborating Class Declarations --
0017 //------------------------------------
0018 #include "DataFormats/L1DTTrackFinder/interface/L1MuDTChambPhDigi.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 L1MuTMChambPhContainer {
0034 public:
0035   typedef std::vector<L1MuDTChambPhDigi> Phi_Container;
0036   typedef Phi_Container::const_iterator Phi_iterator;
0037 
0038   //  Constructors
0039   L1MuTMChambPhContainer();
0040 
0041   //  Destructor
0042   ~L1MuTMChambPhContainer();
0043 
0044   void setContainer(const Phi_Container& inputSegments);
0045 
0046   Phi_Container const* getContainer() const;
0047 
0048   bool bxEmpty(int step) const;
0049 
0050   int bxSize(int step1, int step2) const;
0051 
0052   L1MuDTChambPhDigi const* chPhiSegm1(int wheel, int stat, int sect, int bx) const;
0053 
0054   L1MuDTChambPhDigi const* chPhiSegm2(int wheel, int stat, int sect, int bx) const;
0055 
0056   L1MuDTChambPhDigi* chPhiSegm(int wheel, int stat, int sect, int bx, int ts2tag);
0057 
0058 private:
0059   Phi_Container phiSegments;
0060 };
0061 
0062 #endif