CMS 3D CMS Logo

FakeAlignmentProducer Class Reference

Description: Producer of fake alignment data for all geometries (currently: Tracker, DT and CSC) (but will not provide IOV as the FakeAlignmentSource). More...

Inheritance diagram for FakeAlignmentProducer:

edm::ESProducer edm::ESProxyFactoryProducer edm::eventsetup::DataProxyProvider

List of all members.

Public Member Functions

 FakeAlignmentProducer (const edm::ParameterSet &)
std::auto_ptr< AlignmentsproduceCSCAli (const CSCAlignmentRcd &)
std::auto_ptr< AlignmentErrorsproduceCSCAliErr (const CSCAlignmentErrorRcd &)
std::auto_ptr< AlignmentsproduceDTAli (const DTAlignmentRcd &)
std::auto_ptr< AlignmentErrorsproduceDTAliErr (const DTAlignmentErrorRcd &)
std::auto_ptr< AlignmentsproduceGlobals (const GlobalPositionRcd &)
std::auto_ptr< AlignmentsproduceTkAli (const TrackerAlignmentRcd &)
std::auto_ptr< AlignmentErrorsproduceTkAliErr (const TrackerAlignmentErrorRcd &)
 ~FakeAlignmentProducer ()


Detailed Description

Description: Producer of fake alignment data for all geometries (currently: Tracker, DT and CSC) (but will not provide IOV as the FakeAlignmentSource).

Implementation: The alignment objects are filled with dummy/empty data, reconstruction Geometry should notice that and not pass to GeometryAligner.

Definition at line 44 of file FakeAlignmentProducer.cc.


Constructor & Destructor Documentation

FakeAlignmentProducer::FakeAlignmentProducer ( const edm::ParameterSet iConfig  ) 

Definition at line 70 of file FakeAlignmentProducer.cc.

References edm::ParameterSet::getParameter(), produceCSCAli(), produceCSCAliErr(), produceDTAli(), produceDTAliErr(), produceGlobals(), produceTkAli(), produceTkAliErr(), and edm::ESProducer::setWhatProduced().

00071 {
00072   // This 'appendToDataLabel' is used by the framework to distinguish providers
00073   // with different settings and to request a special one by e.g.
00074   // iSetup.get<TrackerDigiGeometryRecord>().get("theLabel", tkGeomHandle);
00075   edm::LogInfo("Alignments") 
00076     << "@SUB=FakeAlignmentProducer" << "Providing data with label '" 
00077     << iConfig.getParameter<std::string>("appendToDataLabel") << "'.";
00078 
00079   setWhatProduced( this, &FakeAlignmentProducer::produceTkAli );
00080   setWhatProduced( this, &FakeAlignmentProducer::produceTkAliErr );
00081   setWhatProduced( this, &FakeAlignmentProducer::produceDTAli );
00082   setWhatProduced( this, &FakeAlignmentProducer::produceDTAliErr );
00083   setWhatProduced( this, &FakeAlignmentProducer::produceCSCAli );
00084   setWhatProduced( this, &FakeAlignmentProducer::produceCSCAliErr );
00085   setWhatProduced( this, &FakeAlignmentProducer::produceGlobals );
00086 
00087 }

FakeAlignmentProducer::~FakeAlignmentProducer (  )  [inline]

Definition at line 47 of file FakeAlignmentProducer.cc.

00047 {}


Member Function Documentation

std::auto_ptr<Alignments> FakeAlignmentProducer::produceCSCAli ( const CSCAlignmentRcd  )  [inline]

Definition at line 54 of file FakeAlignmentProducer.cc.

Referenced by FakeAlignmentProducer().

00054 { return std::auto_ptr<Alignments>(new Alignments);}

std::auto_ptr<AlignmentErrors> FakeAlignmentProducer::produceCSCAliErr ( const CSCAlignmentErrorRcd  )  [inline]

Definition at line 64 of file FakeAlignmentProducer.cc.

Referenced by FakeAlignmentProducer().

00064                                                                              {
00065     return std::auto_ptr<AlignmentErrors>(new AlignmentErrors);
00066   }

std::auto_ptr<Alignments> FakeAlignmentProducer::produceDTAli ( const DTAlignmentRcd  )  [inline]

Definition at line 52 of file FakeAlignmentProducer.cc.

Referenced by FakeAlignmentProducer().

00052 { return std::auto_ptr<Alignments>(new Alignments);}

std::auto_ptr<AlignmentErrors> FakeAlignmentProducer::produceDTAliErr ( const DTAlignmentErrorRcd  )  [inline]

Definition at line 61 of file FakeAlignmentProducer.cc.

Referenced by FakeAlignmentProducer().

00061                                                                            {
00062     return std::auto_ptr<AlignmentErrors>(new AlignmentErrors);
00063   }

std::auto_ptr<Alignments> FakeAlignmentProducer::produceGlobals ( const GlobalPositionRcd  )  [inline]

Definition at line 56 of file FakeAlignmentProducer.cc.

Referenced by FakeAlignmentProducer().

00056 {return std::auto_ptr<Alignments>(new Alignments);}

std::auto_ptr<Alignments> FakeAlignmentProducer::produceTkAli ( const TrackerAlignmentRcd  )  [inline]

Definition at line 50 of file FakeAlignmentProducer.cc.

Referenced by FakeAlignmentProducer().

00050 { return std::auto_ptr<Alignments>(new Alignments);}

std::auto_ptr<AlignmentErrors> FakeAlignmentProducer::produceTkAliErr ( const TrackerAlignmentErrorRcd  )  [inline]

Definition at line 58 of file FakeAlignmentProducer.cc.

Referenced by FakeAlignmentProducer().

00058                                                                                 {
00059     return std::auto_ptr<AlignmentErrors>(new AlignmentErrors);
00060   }


The documentation for this class was generated from the following file:
Generated on Tue Jun 9 18:20:37 2009 for CMSSW by  doxygen 1.5.4