RecoLocalMuon
CSCSegment
src
CSCSegmentBuilder.h
Go to the documentation of this file.
1
#ifndef CSCSegment_CSCSegmentBuilder_h
2
#define CSCSegment_CSCSegmentBuilder_h
3
17
#include <
DataFormats/CSCRecHit/interface/CSCRecHit2DCollection.h
>
18
#include <
DataFormats/CSCRecHit/interface/CSCSegmentCollection.h
>
19
20
#include <
FWCore/ParameterSet/interface/ParameterSet.h
>
21
22
class
CSCGeometry
;
23
class
CSCSegmentAlgorithm
;
24
25
class
CSCSegmentBuilder
{
26
public
:
31
explicit
CSCSegmentBuilder
(
const
edm::ParameterSet
&);
33
~CSCSegmentBuilder
();
34
38
void
build
(
const
CSCRecHit2DCollection
*
rechits
,
CSCSegmentCollection
& oc);
39
42
void
setGeometry
(
const
CSCGeometry
*
geom
);
43
44
private
:
45
const
CSCGeometry
*
geom_
;
46
std::map<std::string, std::unique_ptr<CSCSegmentAlgorithm>>
algoMap
;
47
};
48
49
#endif
CSCRecHit2DCollection.h
CSCRecHit2DCollection
CSCSegmentBuilder::CSCSegmentBuilder
CSCSegmentBuilder(const edm::ParameterSet &)
Definition:
CSCSegmentBuilder.cc:21
CSCSegmentAlgorithm
Definition:
CSCSegmentAlgorithm.h:23
CSCSegmentBuilder::setGeometry
void setGeometry(const CSCGeometry *geom)
Definition:
CSCSegmentBuilder.cc:103
CSCSegmentBuilder::build
void build(const CSCRecHit2DCollection *rechits, CSCSegmentCollection &oc)
Definition:
CSCSegmentBuilder.cc:61
CSCSegmentCollection
CSCSegmentBuilder::geom_
const CSCGeometry * geom_
Definition:
CSCSegmentBuilder.h:45
CSCGeometry
Definition:
CSCGeometry.h:24
relativeConstraints.geom
geom
Definition:
relativeConstraints.py:72
HI_PhotonSkim_cff.rechits
rechits
Definition:
HI_PhotonSkim_cff.py:76
edm::ParameterSet
Definition:
ParameterSet.h:47
CSCSegmentBuilder::algoMap
std::map< std::string, std::unique_ptr< CSCSegmentAlgorithm > > algoMap
Definition:
CSCSegmentBuilder.h:46
CSCSegmentBuilder::~CSCSegmentBuilder
~CSCSegmentBuilder()
Destructor.
CSCSegmentBuilder
Definition:
CSCSegmentBuilder.h:25
ParameterSet.h
CSCSegmentCollection.h
Generated for CMSSW Reference Manual by
1.8.16