CMS 3D CMS Logo

List of all members | Public Member Functions | Private Member Functions | Private Attributes
MuonAlignmentInputMethod Class Reference

#include <Alignment/MuonAlignment/interface/MuonAlignmentInputMethod.h>

Inheritance diagram for MuonAlignmentInputMethod:
MuonAlignmentInputDB MuonAlignmentInputSurveyDB MuonAlignmentInputXML

Public Member Functions

 MuonAlignmentInputMethod ()
 
 MuonAlignmentInputMethod (std::string idealLabel)
 
virtual AlignableMuonnewAlignableMuon (const edm::EventSetup &iSetup) const
 
virtual ~MuonAlignmentInputMethod ()
 

Private Member Functions

 MuonAlignmentInputMethod (const MuonAlignmentInputMethod &)=delete
 
const MuonAlignmentInputMethodoperator= (const MuonAlignmentInputMethod &)=delete
 

Private Attributes

std::string idealGeometryLabel
 

Detailed Description

Description: <one line="" class="" summary>="">

Usage: <usage>

Definition at line 34 of file MuonAlignmentInputMethod.h.

Constructor & Destructor Documentation

◆ MuonAlignmentInputMethod() [1/3]

MuonAlignmentInputMethod::MuonAlignmentInputMethod ( )

Definition at line 36 of file MuonAlignmentInputMethod.cc.

36 : idealGeometryLabel("idealForInputMethod") {}

◆ MuonAlignmentInputMethod() [2/3]

MuonAlignmentInputMethod::MuonAlignmentInputMethod ( std::string  idealLabel)

Definition at line 37 of file MuonAlignmentInputMethod.cc.

37 : idealGeometryLabel(idealLabel) {}

◆ ~MuonAlignmentInputMethod()

MuonAlignmentInputMethod::~MuonAlignmentInputMethod ( )
virtual

Definition at line 44 of file MuonAlignmentInputMethod.cc.

44 {}

◆ MuonAlignmentInputMethod() [3/3]

MuonAlignmentInputMethod::MuonAlignmentInputMethod ( const MuonAlignmentInputMethod )
privatedelete

Member Function Documentation

◆ newAlignableMuon()

AlignableMuon * MuonAlignmentInputMethod::newAlignableMuon ( const edm::EventSetup iSetup) const
virtual

Reimplemented in MuonAlignmentInputXML, MuonAlignmentInputSurveyDB, and MuonAlignmentInputDB.

Definition at line 62 of file MuonAlignmentInputMethod.cc.

62  {
63  edm::ESHandle<DTGeometry> dtGeometry;
64  edm::ESHandle<CSCGeometry> cscGeometry;
65  iSetup.get<MuonGeometryRecord>().get(idealGeometryLabel, dtGeometry);
66  iSetup.get<MuonGeometryRecord>().get(idealGeometryLabel, cscGeometry);
67  return new AlignableMuon(&(*dtGeometry), &(*cscGeometry));
68 }

References align::AlignableMuon, edm::EventSetup::get(), get, and idealGeometryLabel.

◆ operator=()

const MuonAlignmentInputMethod& MuonAlignmentInputMethod::operator= ( const MuonAlignmentInputMethod )
privatedelete

Member Data Documentation

◆ idealGeometryLabel

std::string MuonAlignmentInputMethod::idealGeometryLabel
private

Definition at line 54 of file MuonAlignmentInputMethod.h.

Referenced by newAlignableMuon().

MuonAlignmentInputMethod::idealGeometryLabel
std::string idealGeometryLabel
Definition: MuonAlignmentInputMethod.h:54
align::AlignableMuon
Definition: StructureType.h:84
edm::EventSetup::get
T get() const
Definition: EventSetup.h:80
edm::ESHandle< DTGeometry >
get
#define get
MuonGeometryRecord
Definition: MuonGeometryRecord.h:34