#include <StackedTrackerGeometryESModule.h>
Public Member Functions | |
boost::shared_ptr < StackedTrackerGeometry > | produce (const StackedTrackerGeometryRecord &record) |
StackedTrackerGeometryESModule (const edm::ParameterSet &p) | |
virtual | ~StackedTrackerGeometryESModule () |
Private Attributes | |
boost::shared_ptr < StackedTrackerGeometry > | _tracker |
bool | makeDebugFile |
double | phi_window |
double | radial_window |
unsigned int | truncation_precision |
double | z_window |
Stacked Tracker Simulations Andrew W. Rose 2008
Definition at line 29 of file StackedTrackerGeometryESModule.h.
StackedTrackerGeometryESModule::StackedTrackerGeometryESModule | ( | const edm::ParameterSet & | p | ) |
//////////////////////////////////////// Stacked Tracker Simulations /// Written by: /// Andrew W. Rose /// 2008 /// //////////////////////////////////////
Definition at line 12 of file StackedTrackerGeometryESModule.cc.
References edm::ESProducer::setWhatProduced().
: radial_window( p.getParameter<double>("radial_window") ), phi_window( p.getParameter<double>("phi_window") ), z_window( p.getParameter<double>("z_window") ), truncation_precision( p.getParameter<unsigned int>("truncation_precision") ), makeDebugFile( p.getParameter<bool>("make_debug_file") ) { setWhatProduced( this ); }
StackedTrackerGeometryESModule::~StackedTrackerGeometryESModule | ( | ) | [virtual] |
Definition at line 22 of file StackedTrackerGeometryESModule.cc.
{}
boost::shared_ptr< StackedTrackerGeometry > StackedTrackerGeometryESModule::produce | ( | const StackedTrackerGeometryRecord & | record | ) |
Definition at line 24 of file StackedTrackerGeometryESModule.cc.
References _tracker, StackedTrackerGeometryBuilder::build(), edm::eventsetup::DependentRecordImplementation< RecordT, ListT >::getRecord(), makeDebugFile, phi_window, radial_window, truncation_precision, and z_window.
{ edm::ESHandle<TrackerGeometry> trkGeomHandle; record.getRecord<TrackerDigiGeometryRecord>().get(trkGeomHandle); StackedTrackerGeometryBuilder builder; _tracker = boost::shared_ptr<StackedTrackerGeometry>( builder.build( &(*trkGeomHandle), radial_window, phi_window, z_window, truncation_precision, makeDebugFile ) ); return _tracker; }
boost::shared_ptr<StackedTrackerGeometry> StackedTrackerGeometryESModule::_tracker [private] |
Definition at line 36 of file StackedTrackerGeometryESModule.h.
Referenced by produce().
bool StackedTrackerGeometryESModule::makeDebugFile [private] |
Definition at line 40 of file StackedTrackerGeometryESModule.h.
Referenced by produce().
double StackedTrackerGeometryESModule::phi_window [private] |
Definition at line 38 of file StackedTrackerGeometryESModule.h.
Referenced by produce().
double StackedTrackerGeometryESModule::radial_window [private] |
Definition at line 38 of file StackedTrackerGeometryESModule.h.
Referenced by produce().
unsigned int StackedTrackerGeometryESModule::truncation_precision [private] |
Definition at line 39 of file StackedTrackerGeometryESModule.h.
Referenced by produce().
double StackedTrackerGeometryESModule::z_window [private] |
Definition at line 38 of file StackedTrackerGeometryESModule.h.
Referenced by produce().