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

◆ GeoHistory

Definition at line 18 of file GeometricTimingDetExtra.h.

Constructor & Destructor Documentation

◆ GeometricTimingDetExtra()

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.

16  : _mygd(gd),
17  _geographicalId(id),
18  _parents(gh),
19  _volume(vol),
20  _density(dens),
21  _weight(wgt),
22  _copy((int)(cpy)),
23  _material(mat),
24  _name(name),
25  _fromDD(dd) {}

◆ ~GeometricTimingDetExtra()

GeometricTimingDetExtra::~GeometricTimingDetExtra ( )

Definition at line 27 of file GeometricTimingDetExtra.cc.

27 {}

Member Function Documentation

◆ copyno()

int GeometricTimingDetExtra::copyno ( ) const
inline

Definition at line 51 of file GeometricTimingDetExtra.h.

51 { return _copy; }

References _copy.

Referenced by CmsMTDDebugNavigator::iterate().

◆ density()

double GeometricTimingDetExtra::density ( ) const
inline

Definition at line 53 of file GeometricTimingDetExtra.h.

53 { return _density; }

References _density.

Referenced by CmsMTDDebugNavigator::iterate().

◆ geographicalId()

DetId GeometricTimingDetExtra::geographicalId ( ) const
inline

Definition at line 47 of file GeometricTimingDetExtra.h.

47 { return _geographicalId; }

References _geographicalId.

◆ geometricDet()

GeometricTimingDet const* GeometricTimingDetExtra::geometricDet ( ) const
inline

get and set associated GeometricTimingDet DOES NO CHECKING!

Definition at line 41 of file GeometricTimingDetExtra.h.

41 { return _mygd; }

References _mygd.

◆ material()

std::string const& GeometricTimingDetExtra::material ( void  ) const
inline

Definition at line 55 of file GeometricTimingDetExtra.h.

55 { return _material; }

References _material.

◆ name()

std::string const& GeometricTimingDetExtra::name ( void  ) const
inline

◆ parents()

GeoHistory const& GeometricTimingDetExtra::parents ( ) const
inline

Definition at line 49 of file GeometricTimingDetExtra.h.

49 { return _parents; }

References _parents.

◆ setGeographicalId()

void GeometricTimingDetExtra::setGeographicalId ( DetId  id)
inline

set or add or clear components

Definition at line 46 of file GeometricTimingDetExtra.h.

46 { _geographicalId = id; }

References _geographicalId, and triggerObjects_cff::id.

◆ volume()

double GeometricTimingDetExtra::volume ( void  ) const
inline

Definition at line 52 of file GeometricTimingDetExtra.h.

52 { return _volume; }

References _volume.

Referenced by CmsMTDDebugNavigator::iterate().

◆ wasBuiltFromDD()

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.

60 { return _fromDD; }

References _fromDD.

◆ weight()

double GeometricTimingDetExtra::weight ( ) const
inline

Definition at line 54 of file GeometricTimingDetExtra.h.

54 { return _weight; }

References _weight.

Referenced by CmsMTDDebugNavigator::iterate().

Member Data Documentation

◆ _copy

int GeometricTimingDetExtra::_copy
private

Definition at line 73 of file GeometricTimingDetExtra.h.

Referenced by copyno().

◆ _density

double GeometricTimingDetExtra::_density
private

Definition at line 71 of file GeometricTimingDetExtra.h.

Referenced by density().

◆ _fromDD

bool GeometricTimingDetExtra::_fromDD
private

Definition at line 76 of file GeometricTimingDetExtra.h.

Referenced by wasBuiltFromDD().

◆ _geographicalId

DetId GeometricTimingDetExtra::_geographicalId
private

Definition at line 68 of file GeometricTimingDetExtra.h.

Referenced by geographicalId(), and setGeographicalId().

◆ _material

std::string GeometricTimingDetExtra::_material
private

Definition at line 74 of file GeometricTimingDetExtra.h.

Referenced by material().

◆ _mygd

GeometricTimingDet const* GeometricTimingDetExtra::_mygd
private

Data members

Definition at line 67 of file GeometricTimingDetExtra.h.

Referenced by geometricDet().

◆ _name

std::string GeometricTimingDetExtra::_name
private

◆ _parents

GeoHistory GeometricTimingDetExtra::_parents
private

Definition at line 69 of file GeometricTimingDetExtra.h.

Referenced by parents().

◆ _volume

double GeometricTimingDetExtra::_volume
private

Definition at line 70 of file GeometricTimingDetExtra.h.

Referenced by volume().

◆ _weight

double GeometricTimingDetExtra::_weight
private

Definition at line 72 of file GeometricTimingDetExtra.h.

Referenced by weight().

GeometricTimingDetExtra::_geographicalId
DetId _geographicalId
Definition: GeometricTimingDetExtra.h:68
GeometricTimingDetExtra::_material
std::string _material
Definition: GeometricTimingDetExtra.h:74
GeometricTimingDetExtra::_parents
GeoHistory _parents
Definition: GeometricTimingDetExtra.h:69
GeometricTimingDetExtra::_density
double _density
Definition: GeometricTimingDetExtra.h:71
createTree.dd
string dd
Definition: createTree.py:154
GeometricTimingDetExtra::_copy
int _copy
Definition: GeometricTimingDetExtra.h:73
GeometricTimingDetExtra::_weight
double _weight
Definition: GeometricTimingDetExtra.h:72
GeometricTimingDetExtra::name
std::string const & name() const
Definition: GeometricTimingDetExtra.h:62
GeometricTimingDetExtra::_fromDD
bool _fromDD
Definition: GeometricTimingDetExtra.h:76
GeometricTimingDetExtra::_name
std::string _name
Definition: GeometricTimingDetExtra.h:75
triggerObjects_cff.id
id
Definition: triggerObjects_cff.py:31
GeometricTimingDetExtra::_volume
double _volume
Definition: GeometricTimingDetExtra.h:70
GeometricTimingDetExtra::_mygd
GeometricTimingDet const * _mygd
Definition: GeometricTimingDetExtra.h:67