CMS 3D CMS Logo

TTUInput.h
Go to the documentation of this file.
1 #ifndef INTERFACE_TTUINPUT_H
2 #define INTERFACE_TTUINPUT_H 1
3 
4 // Include files
5 #include <bitset>
6 #include <vector>
7 #include <array>
8 
18 class TTUInput {
19 public:
20 
22  TTUInput( );
23 
24  TTUInput( const TTUInput & in ) = default;
25  TTUInput( TTUInput && in ) = default;
26  TTUInput & operator=( const TTUInput & rhs ) = default;
27  TTUInput & operator=( TTUInput && rhs ) = default;
28 
29  void reset();
30 
31  int m_bx;
32 
33  int m_wheelId;
34 
35  bool m_hasHits;
36 
37  std::array<std::bitset<6>, 12> input_sec;
38  std::bitset<12> m_rbcDecision;
39 
40  void mask ( const std::vector<int> & );
41  void force( const std::vector<int> & );
42 
43 protected:
44 
45 private:
46 
47  bool m_debug;
48 
49 };
50 #endif // INTERFACE_TTUINPUT_H
int m_bx
Definition: TTUInput.h:31
void mask(const std::vector< int > &)
Definition: TTUInput.cc:44
int m_wheelId
Definition: TTUInput.h:33
void force(const std::vector< int > &)
Definition: TTUInput.cc:55
void reset()
Definition: TTUInput.cc:30
TTUInput()
Standard constructor.
Definition: TTUInput.cc:18
std::bitset< 12 > m_rbcDecision
Definition: TTUInput.h:38
std::array< std::bitset< 6 >, 12 > input_sec
Definition: TTUInput.h:37
TTUInput & operator=(const TTUInput &rhs)=default
bool m_debug
Definition: TTUInput.h:47
bool m_hasHits
Definition: TTUInput.h:35