L1Phase2MuDTShower

Macros

Line Code
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75
//-------------------------------------------------
//
//   Class L1Phase2MuDTShower
//
//   Description: shower primitive data for the
//                muon barrel Phase2 trigger
//
//
//   Author List:
//    Federica Primavera  Bologna INFN
//    Carlos Vico  Oviedo Spain,
//    Daniel Estrada Acevedo Oviedo Spain.
//
//
//--------------------------------------------------
#ifndef L1Phase2MuDTShower_H
#define L1Phase2MuDTShower_H

//---------------
// C++ Headers --
//---------------
#include <vector>

//              ---------------------
//              -- Class Interface --
//              ---------------------

class L1Phase2MuDTShower {
public:
  //  Constructors

  L1Phase2MuDTShower();

  L1Phase2MuDTShower(int wh,                               // Wheel
                     int sc,                               // Sector
                     int st,                               // Station
                     int sl,                               // Superlayer
                     int ndigis,                           // Number of digis within shower
                     int bx,                               // BX estimation
                     int min_wire,                         // Minimum wire
                     int max_wire,                         // Maximum wire
                     float avg_pos,                        // Averaged position of the shower
                     float avg_time,                       // Averaged time of the shower
                     const std::vector<int> wires_profile  // Wires profile
  );

  // Operations

  int whNum() const;
  int scNum() const;
  int stNum() const;
  int slNum() const;
  int ndigis() const;
  int bxNum() const;
  int minWire() const;
  int maxWire() const;
  float avg_time() const;
  float avg_pos() const;
  std::vector<int> wiresProfile() const;

private:
  int m_wheel;
  int m_sector;
  int m_station;
  int m_superlayer;
  int m_ndigis;
  int m_bx;
  int m_min_wire;
  int m_max_wire;
  float m_avg_pos;
  float m_avg_time;
  std::vector<int> m_wires_profile;
};

#endif