CMS 3D CMS Logo

RPCData.h
Go to the documentation of this file.
1 #ifndef INTERFACE_RPCDATA_H
2 #define INTERFACE_RPCDATA_H 1
3 
4 // Include files
6 
7 #include <cstdlib>
8 #include <iostream>
9 #include <fstream>
10 #include <ios>
11 #include <cmath>
12 #include <map>
13 
23 namespace l1trigger {
24  class Counters {
25  public:
26 
27  Counters() {};
28  Counters( int );
29 
30  virtual ~Counters();
31 
32  void incrementSector( int );
33 
34  void printSummary();
35 
36  void evalCounters();
37 
38  int m_wheelid;
40  int m_farSide;
41  int m_wheel;
42  std::map<int,int> m_sector;
43  };
44 }
45 
46 class RPCData {
47 public:
49  RPCData( );
50  virtual ~RPCData( );
51 
52  int m_wheel;
53  int * m_sec1;
54  int * m_sec2;
56 
57  friend std::istream& operator>>(std::istream &, RPCData &);
58  friend std::ostream& operator<<(std::ostream &, RPCData &);
59 
60  int wheelIdx() //wheel index starts from 0
61  {
62  return (m_wheel + 2);
63  }
64 
65 protected:
66 
67 private:
68 
69 };
70 #endif // INTERFACE_RPCDATA_H
RBCInput * m_orsignals
Definition: RPCData.h:55
void printSummary()
Definition: RPCData.cc:78
int * m_sec2
Definition: RPCData.h:54
std::ostream & operator<<(std::ostream &out, const ALILine &li)
Definition: ALILine.cc:188
virtual ~Counters()
Definition: RPCData.cc:33
void evalCounters()
Definition: RPCData.cc:38
std::map< int, int > m_sector
Definition: RPCData.h:42
int m_wheel
Definition: RPCData.h:52
int wheelIdx()
Definition: RPCData.h:60
void incrementSector(int)
Definition: RPCData.cc:91
std::istream & operator>>(std::istream &input, CLHEP::HepGenMatrix &matrix)
Definition: matrixSaver.cc:111
TriggerPrimitive::RPCData RPCData
Definition: Common.h:33
int * m_sec1
Definition: RPCData.h:53