CMS 3D CMS Logo

RPCConeBuilder.h
Go to the documentation of this file.
1 #ifndef L1Trigger_RPCConeBuilder_RPCConeBuilder_h
2 #define L1Trigger_RPCConeBuilder_RPCConeBuilder_h
3 // -*- C++ -*-
4 //
5 // Package: RPCConeBuilder
6 // Class : RPCConeBuilder
7 //
16 //
17 // Original Author:
18 // Created: Mon Feb 25 12:06:44 CET 2008
19 //
20 #include <memory>
26 
27 
29 
30 #include <map>
31 //#include "L1TriggerConfig/RPCConeBuilder/interface/RPCStripsRing.h"
33 
36  public:
37 
40 
41  typedef std::shared_ptr<L1RPCConeBuilder> ReturnType;
42 
43 
44  ReturnType produce(const L1RPCConeBuilderRcd&);
45  //ReturnType produce(const L1RPCConfigRcd&);
46  void geometryCallback( const MuonGeometryRecord &);
48 
49  private:
50 
51  void buildCones(const edm::ESHandle<RPCGeometry> & rpcGeom);
52  void buildConnections();
53 
54  std::pair<int, int> areConnected(RPCStripsRing::TIdToRindMap::iterator ref,
55  RPCStripsRing::TIdToRindMap::iterator other);
56 
57 
58  // ----------member data ---------------------------
61  int m_rollBeg;
62  int m_rollEnd;
65 
69 
71 
72 };
73 
74 
75 
76 #endif
edm::ESHandle< RPCGeometry > m_rpcGeometry
bool m_runOnceBuildCones
RPCConeBuilder(const edm::ParameterSet &)
void geometryCallback(const MuonGeometryRecord &)
std::pair< int, int > areConnected(RPCStripsRing::TIdToRindMap::iterator ref, RPCStripsRing::TIdToRindMap::iterator other)
void buildCones(const edm::ESHandle< RPCGeometry > &rpcGeom)
void coneDefCallback(const L1RPCConeDefinitionRcd &)
int m_towerBeg
Returns logplane number for this connection, if not connected returns -1. In second lpSize...
edm::ESHandle< L1RPCConeDefinition > m_L1RPCConeDefinition
RPCStripsRing::TIdToRindMap m_ringsMap
std::map< int, RPCStripsRing > TIdToRindMap
Definition: RPCStripsRing.h:43
std::shared_ptr< L1RPCConeBuilder > ReturnType
ReturnType produce(const L1RPCConeBuilderRcd &)