L1MuDTChambPhContainer

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
//-------------------------------------------------
//
//   Class L1MuDTChambPhContainer
//
//   Description: input data for PHTF trigger
//
//
//   Author List: Jorge Troconiz  UAM Madrid
//
//
//--------------------------------------------------
#ifndef L1MuDTChambPhContainer_H
#define L1MuDTChambPhContainer_H

//------------------------------------
// Collaborating Class Declarations --
//------------------------------------
#include "DataFormats/L1DTTrackFinder/interface/L1MuDTChambPhDigi.h"

//----------------------
// Base Class Headers --
//----------------------
#include <vector>

//---------------
// C++ Headers --
//---------------

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

class L1MuDTChambPhContainer {
public:
  typedef std::vector<L1MuDTChambPhDigi> Phi_Container;
  typedef Phi_Container::const_iterator Phi_iterator;

  //  Constructors
  L1MuDTChambPhContainer() = default;
  explicit L1MuDTChambPhContainer(Phi_Container);

  //  Destructor
  ~L1MuDTChambPhContainer() = default;

  void setContainer(Phi_Container inputSegments);

  Phi_Container const* getContainer() const;

  bool bxEmpty(int step) const;

  int bxSize(int step1, int step2) const;

  L1MuDTChambPhDigi const* chPhiSegm1(int wheel, int stat, int sect, int bx) const;

  L1MuDTChambPhDigi const* chPhiSegm2(int wheel, int stat, int sect, int bx) const;

private:
  Phi_Container phiSegments;
};

#endif