test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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>
21 #include "boost/shared_ptr.hpp"
27 
28 
30 
31 #include <map>
32 //#include "L1TriggerConfig/RPCConeBuilder/interface/RPCStripsRing.h"
34 
37  public:
38 
41 
42  typedef boost::shared_ptr<L1RPCConeBuilder> ReturnType;
43 
44 
46  //ReturnType produce(const L1RPCConfigRcd&);
47  void geometryCallback( const MuonGeometryRecord &);
49 
50  private:
51 
52  void buildCones(const edm::ESHandle<RPCGeometry> & rpcGeom);
53  void buildConnections();
54 
55  std::pair<int, int> areConnected(RPCStripsRing::TIdToRindMap::iterator ref,
56  RPCStripsRing::TIdToRindMap::iterator other);
57 
58 
59  // ----------member data ---------------------------
62  int m_rollBeg;
63  int m_rollEnd;
66 
70 
72 
73 };
74 
75 
76 
77 #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)
boost::shared_ptr< L1RPCConeBuilder > ReturnType
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
ReturnType produce(const L1RPCConeBuilderRcd &)