Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2025-04-15 22:41:22

0001 //-------------------------------------------------
0002 //
0003 //   Class L1Phase2MuDTShower
0004 //
0005 //   Description: shower primitive data for the
0006 //                muon barrel Phase2 trigger
0007 //
0008 //
0009 //   Author List:
0010 //    Federica Primavera  Bologna INFN
0011 //    Carlos Vico  Oviedo Spain,
0012 //    Daniel Estrada Acevedo Oviedo Spain.
0013 //
0014 //
0015 //--------------------------------------------------
0016 #ifndef L1Phase2MuDTShower_H
0017 #define L1Phase2MuDTShower_H
0018 
0019 //---------------
0020 // C++ Headers --
0021 //---------------
0022 #include <vector>
0023 
0024 //              ---------------------
0025 //              -- Class Interface --
0026 //              ---------------------
0027 
0028 class L1Phase2MuDTShower {
0029 public:
0030   //  Constructors
0031 
0032   L1Phase2MuDTShower();
0033 
0034   L1Phase2MuDTShower(int wh,                               // Wheel
0035                      int sc,                               // Sector
0036                      int st,                               // Station
0037                      int sl,                               // Superlayer
0038                      int ndigis,                           // Number of digis within shower
0039                      int bx,                               // BX estimation
0040                      int min_wire,                         // Minimum wire
0041                      int max_wire,                         // Maximum wire
0042                      float avg_pos,                        // Averaged position of the shower
0043                      float avg_time,                       // Averaged time of the shower
0044                      const std::vector<int> wires_profile  // Wires profile
0045   );
0046 
0047   // Operations
0048 
0049   int whNum() const;
0050   int scNum() const;
0051   int stNum() const;
0052   int slNum() const;
0053   int ndigis() const;
0054   int bxNum() const;
0055   int minWire() const;
0056   int maxWire() const;
0057   float avg_time() const;
0058   float avg_pos() const;
0059   std::vector<int> wiresProfile() const;
0060 
0061 private:
0062   int m_wheel;
0063   int m_sector;
0064   int m_station;
0065   int m_superlayer;
0066   int m_ndigis;
0067   int m_bx;
0068   int m_min_wire;
0069   int m_max_wire;
0070   float m_avg_pos;
0071   float m_avg_time;
0072   std::vector<int> m_wires_profile;
0073 };
0074 
0075 #endif