CMS 3D CMS Logo

RPCtoDTTranslator.h
Go to the documentation of this file.
1 //-------------------------------------------------
2 //
3 // Class: RPCtoDTTranslator
4 //
5 // RPCtoDTTranslator
6 //
7 //
8 // Author :
9 // G. Flouris U Ioannina Feb. 2015
10 //--------------------------------------------------
11 
12 #ifndef L1T_TwinMux_RPC_DTTranslator_H
13 #define L1T_TwinMux_RPC_DTTranslator_H
14 
18 
21 
22 
29 
30 #include <iostream>
31 
33 public:
36 
37  void run(const edm::EventSetup& c);
38 
42 
43  static int radialAngle(RPCDetId , const edm::EventSetup& , int);
44  static int bendingAngle(int, int, int);
45  //static int bendingAngle(int);
46  static int localX(RPCDetId , const edm::EventSetup&, int );
47  static int localXX(int, int, int );
48 
49 private:
50 
54 
56 
57  struct rpc_hit
58  {
59  int bx;
60  int station;
61  int sector;
62  int wheel;
64  int strip;
65  int roll;
66  int layer;
67  //rpc_hit(int pbx, int pstation,int psector, int pwheel, RPCDetId pdet, int pstrip, int proll, int player) : bx(pbx),station(pstation),sector(psector),wheel(pwheel, detid(pdet),strip(pstrip),roll(proll),layer(player) {}
68  };
69 
70 
71 };
72 #endif
L1MuDTChambPhContainer getDTContainer()
Return Output PhContainer.
static int bendingAngle(int, int, int)
RPCDigiCollection m_rpcDigis
L1MuDTChambPhContainer m_rpcdt_translated
Output PhContainer.
L1MuDTChambPhContainer m_rpchitsdt_translated
void run(const edm::EventSetup &c)
static int radialAngle(RPCDetId, const edm::EventSetup &, int)
function - will be replaced by LUTs(?)
static int localXX(int, int, int)
RPCtoDTTranslator(RPCDigiCollection inrpcDigis)
L1MuDTChambPhContainer getDTRPCHitsContainer()
static int localX(RPCDetId, const edm::EventSetup &, int)
function - will be replaced by LUTs(?)