CMS 3D CMS Logo

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

#include <GeometricTimingDetExtra.h>

Public Types

typedef std::vector< DDExpandedNodeGeoHistory
 
typedef DDExpandedView::NavRange NavRange
 

Public Member Functions

int copyno () const
 
double density () const
 
DetId geographicalId () const
 
GeometricTimingDet const * geometricDet () const
 
 GeometricTimingDetExtra (GeometricTimingDet const *gd)
 
 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 20 of file GeometricTimingDetExtra.h.

Definition at line 15 of file GeometricTimingDetExtra.h.

Constructor & Destructor Documentation

GeometricTimingDetExtra::GeometricTimingDetExtra ( GeometricTimingDet const *  gd)
inline

Constructors to be used when looping over DDD

Definition at line 25 of file GeometricTimingDetExtra.h.

References name(), AlCaHLTBitMon_QueryRunRegistry::string, and ~GeometricTimingDetExtra().

25 : _mygd(gd) { }; // this better be "copied into" or it will never have any valid numbers/info.
GeometricTimingDet const * _mygd
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 
)

Constructors to be used when looping over DDD

Definition at line 6 of file GeometricTimingDetExtra.cc.

GeometricTimingDetExtra::~GeometricTimingDetExtra ( )

Definition at line 12 of file GeometricTimingDetExtra.cc.

Referenced by GeometricTimingDetExtra().

13 { }

Member Function Documentation

int GeometricTimingDetExtra::copyno ( ) const
inline

Definition at line 53 of file GeometricTimingDetExtra.h.

References _copy.

Referenced by CmsMTDDebugNavigator::iterate().

53  {
54  return _copy;
55  }
double GeometricTimingDetExtra::density ( ) const
inline

Definition at line 59 of file GeometricTimingDetExtra.h.

References _density.

Referenced by CmsMTDDebugNavigator::iterate().

59  {
60  return _density;
61  }
DetId GeometricTimingDetExtra::geographicalId ( ) const
inline

Definition at line 46 of file GeometricTimingDetExtra.h.

References _geographicalId.

GeometricTimingDet const* GeometricTimingDetExtra::geometricDet ( ) const
inline

get and set associated GeometricTimingDet DOES NO CHECKING!

Definition at line 38 of file GeometricTimingDetExtra.h.

References _mygd.

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

Definition at line 65 of file GeometricTimingDetExtra.h.

References _material.

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

Definition at line 48 of file GeometricTimingDetExtra.h.

References _parents.

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

set or add or clear components

Definition at line 43 of file GeometricTimingDetExtra.h.

References _geographicalId, and triggerObjects_cff::id.

double GeometricTimingDetExtra::volume ( void  ) const
inline

Definition at line 56 of file GeometricTimingDetExtra.h.

References _volume.

Referenced by CmsMTDDebugNavigator::iterate().

56  {
57  return _volume;
58  }
bool GeometricTimingDetExtra::wasBuiltFromDD ( ) const
inline

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

Definition at line 72 of file GeometricTimingDetExtra.h.

References _fromDD.

72  {
73  return _fromDD;
74  }
double GeometricTimingDetExtra::weight ( ) const
inline

Definition at line 62 of file GeometricTimingDetExtra.h.

References _weight.

Referenced by CmsMTDDebugNavigator::iterate().

62  {
63  return _weight;
64  }

Member Data Documentation

int GeometricTimingDetExtra::_copy
private

Definition at line 88 of file GeometricTimingDetExtra.h.

Referenced by copyno().

double GeometricTimingDetExtra::_density
private

Definition at line 86 of file GeometricTimingDetExtra.h.

Referenced by density().

bool GeometricTimingDetExtra::_fromDD
private

Definition at line 91 of file GeometricTimingDetExtra.h.

Referenced by wasBuiltFromDD().

DetId GeometricTimingDetExtra::_geographicalId
private

Definition at line 83 of file GeometricTimingDetExtra.h.

Referenced by geographicalId(), and setGeographicalId().

std::string GeometricTimingDetExtra::_material
private

Definition at line 89 of file GeometricTimingDetExtra.h.

Referenced by material().

GeometricTimingDet const* GeometricTimingDetExtra::_mygd
private

Data members

Definition at line 82 of file GeometricTimingDetExtra.h.

Referenced by geometricDet().

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

Definition at line 84 of file GeometricTimingDetExtra.h.

Referenced by parents().

double GeometricTimingDetExtra::_volume
private

Definition at line 85 of file GeometricTimingDetExtra.h.

Referenced by volume().

double GeometricTimingDetExtra::_weight
private

Definition at line 87 of file GeometricTimingDetExtra.h.

Referenced by weight().