Back to home page

Project CMSSW displayed by LXR

 
 

    


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

0001 //-------------------------------------------------
0002 //
0003 //   Class L1MuDTChambThContainer
0004 //
0005 //   Description: input data for ETTF trigger
0006 //
0007 //
0008 //   Author List: Jorge Troconiz  UAM Madrid
0009 //
0010 //
0011 //--------------------------------------------------
0012 #ifndef L1MuDTChambThContainer_H
0013 #define L1MuDTChambThContainer_H
0014 
0015 //------------------------------------
0016 // Collaborating Class Declarations --
0017 //------------------------------------
0018 #include "DataFormats/L1DTTrackFinder/interface/L1MuDTChambThDigi.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 L1MuDTChambThContainer {
0034 public:
0035   typedef std::vector<L1MuDTChambThDigi> The_Container;
0036   typedef The_Container::const_iterator The_iterator;
0037 
0038   //  Constructors
0039   L1MuDTChambThContainer() = default;
0040   L1MuDTChambThContainer(The_Container);
0041 
0042   //  Destructor
0043   ~L1MuDTChambThContainer() = default;
0044 
0045   void setContainer(The_Container inputSegments);
0046 
0047   The_Container const* getContainer() const;
0048 
0049   bool bxEmpty(int step) const;
0050 
0051   int bxSize(int step1, int step2) const;
0052 
0053   L1MuDTChambThDigi const* chThetaSegm(int wheel, int stat, int sect, int bx) const;
0054 
0055 private:
0056   The_Container theSegments;
0057 };
0058 
0059 #endif