CMS 3D CMS Logo

Public Member Functions

FakeAlignmentProducer Class Reference

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().

{
  // This 'appendToDataLabel' is used by the framework to distinguish providers
  // with different settings and to request a special one by e.g.
  // iSetup.get<TrackerDigiGeometryRecord>().get("theLabel", tkGeomHandle);
  edm::LogInfo("Alignments") 
    << "@SUB=FakeAlignmentProducer" << "Providing data with label '" 
    << iConfig.getParameter<std::string>("appendToDataLabel") << "'.";

  setWhatProduced( this, &FakeAlignmentProducer::produceTkAli );
  setWhatProduced( this, &FakeAlignmentProducer::produceTkAliErr );
  setWhatProduced( this, &FakeAlignmentProducer::produceDTAli );
  setWhatProduced( this, &FakeAlignmentProducer::produceDTAliErr );
  setWhatProduced( this, &FakeAlignmentProducer::produceCSCAli );
  setWhatProduced( this, &FakeAlignmentProducer::produceCSCAliErr );
  setWhatProduced( this, &FakeAlignmentProducer::produceGlobals );

}
FakeAlignmentProducer::~FakeAlignmentProducer ( ) [inline]

Definition at line 47 of file FakeAlignmentProducer.cc.

{}

Member Function Documentation

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

Definition at line 54 of file FakeAlignmentProducer.cc.

Referenced by FakeAlignmentProducer().

{ 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().

                                                                             {
    return std::auto_ptr<AlignmentErrors>(new AlignmentErrors);
  }
std::auto_ptr<Alignments> FakeAlignmentProducer::produceDTAli ( const DTAlignmentRcd ) [inline]

Definition at line 52 of file FakeAlignmentProducer.cc.

Referenced by FakeAlignmentProducer().

{ 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().

                                                                           {
    return std::auto_ptr<AlignmentErrors>(new AlignmentErrors);
  }
std::auto_ptr<Alignments> FakeAlignmentProducer::produceGlobals ( const GlobalPositionRcd ) [inline]

Definition at line 56 of file FakeAlignmentProducer.cc.

Referenced by FakeAlignmentProducer().

{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().

{ 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().

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