CMS 3D CMS Logo

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

#include <GeometricTimingDetExtra.h>

Public Types

using GeoHistory = std::vector< DDExpandedNode >
 

Public Member Functions

int copyno () const
 
double density () const
 
DetId geographicalId () const
 
GeometricTimingDet const * geometricDet () const
 
 GeometricTimingDetExtra (GeometricTimingDet const *gd, DetId id, GeoHistory &gh, double vol, double dens, double wgt, double cpy, const std::string &mat, const std::string &name, bool dd=false)
 
std::string const & material () const
 
std::string const & name () const
 
GeoHistory const & parents () const
 
void setGeographicalId (DetId id)
 
double volume () const
 
bool wasBuiltFromDD () const
 
double weight () const
 
 ~GeometricTimingDetExtra ()
 

Private Attributes

int _copy
 
double _density
 
bool _fromDD
 
DetId _geographicalId
 
std::string _material
 
GeometricTimingDet const * _mygd
 
std::string _name
 
GeoHistory _parents
 
double _volume
 
double _weight
 

Detailed Description

Definition at line 13 of file GeometricTimingDetExtra.h.

Member Typedef Documentation

Definition at line 18 of file GeometricTimingDetExtra.h.

Constructor & Destructor Documentation

GeometricTimingDetExtra::GeometricTimingDetExtra ( GeometricTimingDet const *  gd,
DetId  id,
GeoHistory gh,
double  vol,
double  dens,
double  wgt,
double  cpy,
const std::string &  mat,
const std::string &  name,
bool  dd = false 
)
explicit

Constructors to be used when looping over DDD

Definition at line 6 of file GeometricTimingDetExtra.cc.

GeometricTimingDetExtra::~GeometricTimingDetExtra ( )

Definition at line 27 of file GeometricTimingDetExtra.cc.

27 {}

Member Function Documentation

int GeometricTimingDetExtra::copyno ( ) const
inline

Definition at line 51 of file GeometricTimingDetExtra.h.

References _copy.

Referenced by CmsMTDDebugNavigator::iterate().

double GeometricTimingDetExtra::density ( ) const
inline

Definition at line 53 of file GeometricTimingDetExtra.h.

References _density.

Referenced by CmsMTDDebugNavigator::iterate().

DetId GeometricTimingDetExtra::geographicalId ( ) const
inline

Definition at line 47 of file GeometricTimingDetExtra.h.

References _geographicalId.

GeometricTimingDet const* GeometricTimingDetExtra::geometricDet ( ) const
inline

get and set associated GeometricTimingDet DOES NO CHECKING!

Definition at line 41 of file GeometricTimingDetExtra.h.

References _mygd.

41 { return _mygd; }
GeometricTimingDet const * _mygd
std::string const& GeometricTimingDetExtra::material ( void  ) const
inline

Definition at line 55 of file GeometricTimingDetExtra.h.

References _material.

55 { return _material; }
std::string const& GeometricTimingDetExtra::name ( void  ) const
inline
GeoHistory const& GeometricTimingDetExtra::parents ( ) const
inline

Definition at line 49 of file GeometricTimingDetExtra.h.

References _parents.

49 { return _parents; }
void GeometricTimingDetExtra::setGeographicalId ( DetId  id)
inline

set or add or clear components

Definition at line 46 of file GeometricTimingDetExtra.h.

References _geographicalId, and triggerObjects_cff::id.

double GeometricTimingDetExtra::volume ( void  ) const
inline

Definition at line 52 of file GeometricTimingDetExtra.h.

References _volume.

Referenced by CmsMTDDebugNavigator::iterate().

bool GeometricTimingDetExtra::wasBuiltFromDD ( ) const
inline

what it says... used the DD in memory model to build the geometry... or not.

Definition at line 60 of file GeometricTimingDetExtra.h.

References _fromDD.

double GeometricTimingDetExtra::weight ( ) const
inline

Definition at line 54 of file GeometricTimingDetExtra.h.

References _weight.

Referenced by CmsMTDDebugNavigator::iterate().

Member Data Documentation

int GeometricTimingDetExtra::_copy
private

Definition at line 73 of file GeometricTimingDetExtra.h.

Referenced by copyno().

double GeometricTimingDetExtra::_density
private

Definition at line 71 of file GeometricTimingDetExtra.h.

Referenced by density().

bool GeometricTimingDetExtra::_fromDD
private

Definition at line 76 of file GeometricTimingDetExtra.h.

Referenced by wasBuiltFromDD().

DetId GeometricTimingDetExtra::_geographicalId
private

Definition at line 68 of file GeometricTimingDetExtra.h.

Referenced by geographicalId(), and setGeographicalId().

std::string GeometricTimingDetExtra::_material
private

Definition at line 74 of file GeometricTimingDetExtra.h.

Referenced by material().

GeometricTimingDet const* GeometricTimingDetExtra::_mygd
private

Data members

Definition at line 67 of file GeometricTimingDetExtra.h.

Referenced by geometricDet().

std::string GeometricTimingDetExtra::_name
private
GeoHistory GeometricTimingDetExtra::_parents
private

Definition at line 69 of file GeometricTimingDetExtra.h.

Referenced by parents().

double GeometricTimingDetExtra::_volume
private

Definition at line 70 of file GeometricTimingDetExtra.h.

Referenced by volume().

double GeometricTimingDetExtra::_weight
private

Definition at line 72 of file GeometricTimingDetExtra.h.

Referenced by weight().