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 // $Id: RPCConeBuilder.h,v 1.1 2009/06/01 13:58:16 fruboes Exp $
20 //
21 #include <memory>
22 #include "boost/shared_ptr.hpp"
28 
29 
31 
32 #include <map>
33 //#include "L1TriggerConfig/RPCConeBuilder/interface/RPCStripsRing.h"
35 
38  public:
39 
42 
43  typedef boost::shared_ptr<L1RPCConeBuilder> ReturnType;
44 
45 
47  //ReturnType produce(const L1RPCConfigRcd&);
48  void geometryCallback( const MuonGeometryRecord &);
50 
51  private:
52 
53  void buildCones(const edm::ESHandle<RPCGeometry> & rpcGeom);
54  void buildConnections();
55 
56  std::pair<int, int> areConnected(RPCStripsRing::TIdToRindMap::iterator ref,
57  RPCStripsRing::TIdToRindMap::iterator other);
58 
59 
60  // ----------member data ---------------------------
63  int m_rollBeg;
64  int m_rollEnd;
67 
71 
73 
74 };
75 
76 
77 
78 #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:44
ReturnType produce(const L1RPCConeBuilderRcd &)