Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:04:25

0001 //-------------------------------------------------
0002 //
0003 //   Class L1MuDTChambPhContainer
0004 //
0005 //   Description: input data for PHTF trigger
0006 //
0007 //
0008 //   Author List: Jorge Troconiz  UAM Madrid
0009 //
0010 //
0011 //--------------------------------------------------
0012 #ifndef L1MuDTChambPhContainer_H
0013 #define L1MuDTChambPhContainer_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 L1MuDTChambPhContainer {
0034 public:
0035   typedef std::vector<L1MuDTChambPhDigi> Phi_Container;
0036   typedef Phi_Container::const_iterator Phi_iterator;
0037 
0038   //  Constructors
0039   L1MuDTChambPhContainer() = default;
0040   explicit L1MuDTChambPhContainer(Phi_Container);
0041 
0042   //  Destructor
0043   ~L1MuDTChambPhContainer() = default;
0044 
0045   void setContainer(Phi_Container inputSegments);
0046 
0047   Phi_Container const* getContainer() const;
0048 
0049   bool bxEmpty(int step) const;
0050 
0051   int bxSize(int step1, int step2) const;
0052 
0053   L1MuDTChambPhDigi const* chPhiSegm1(int wheel, int stat, int sect, int bx) const;
0054 
0055   L1MuDTChambPhDigi const* chPhiSegm2(int wheel, int stat, int sect, int bx) const;
0056 
0057 private:
0058   Phi_Container phiSegments;
0059 };
0060 
0061 #endif