CMS 3D CMS Logo

List of all members | Public Member Functions | Static Public Member Functions | Protected Attributes
MaterialInformation Class Reference

#include <MaterialInformation.h>

Public Member Functions

const char * getName () const
 
int id () const
 
double interactionLength () const
 
 MaterialInformation ()
 
 MaterialInformation (std::string vname, int id=0, float eta=0, float phi=0, float length=0, float radlen=0, float intlen=0)
 
double radiationLength () const
 
void setID (int i)
 
void setInteractionLength (double i)
 
void setRadiationLength (double r)
 
void setStepLength (double l)
 
void setTrackEta (double e)
 
void setTrackPhi (double f)
 
double stepLength () const
 
double trackEta () const
 
double trackPhi () const
 
std::string vname () const
 

Static Public Member Functions

static const char * name ()
 

Protected Attributes

float eta_
 
int id_
 
float intlen_
 
float length_
 
float phi_
 
float radlen_
 
std::string vname_
 

Detailed Description

Definition at line 9 of file MaterialInformation.h.

Constructor & Destructor Documentation

◆ MaterialInformation() [1/2]

MaterialInformation::MaterialInformation ( std::string  vname,
int  id = 0,
float  eta = 0,
float  phi = 0,
float  length = 0,
float  radlen = 0,
float  intlen = 0 
)
inline

Definition at line 11 of file MaterialInformation.h.

13  : vname_(vname), id_(id), eta_(eta), phi_(phi), length_(length), radlen_(radlen), intlen_(intlen) {}

◆ MaterialInformation() [2/2]

MaterialInformation::MaterialInformation ( )
inline

Definition at line 14 of file MaterialInformation.h.

14 : vname_(""), id_(0), eta_(0), phi_(0), length_(0), radlen_(0), intlen_(0) {}

Member Function Documentation

◆ getName()

const char* MaterialInformation::getName ( void  ) const
inline

Definition at line 18 of file MaterialInformation.h.

18 { return name(); }

References name().

Referenced by plotting.Plot::draw().

◆ id()

int MaterialInformation::id ( void  ) const
inline

Definition at line 20 of file MaterialInformation.h.

20 { return id_; }

References id_.

◆ interactionLength()

double MaterialInformation::interactionLength ( ) const
inline

Definition at line 34 of file MaterialInformation.h.

34 { return intlen_; }

References intlen_.

◆ name()

static const char* MaterialInformation::name ( void  )
inlinestatic

Definition at line 17 of file MaterialInformation.h.

17 { return "MaterialInformation"; }

Referenced by config.CFG::__str__(), validation.Sample::digest(), and getName().

◆ radiationLength()

double MaterialInformation::radiationLength ( ) const
inline

Definition at line 32 of file MaterialInformation.h.

32 { return radlen_; }

References radlen_.

◆ setID()

void MaterialInformation::setID ( int  i)
inline

Definition at line 21 of file MaterialInformation.h.

21 { id_ = i; }

References mps_fire::i, and id_.

◆ setInteractionLength()

void MaterialInformation::setInteractionLength ( double  i)
inline

Definition at line 35 of file MaterialInformation.h.

35 { intlen_ = i; }

References mps_fire::i, and intlen_.

◆ setRadiationLength()

void MaterialInformation::setRadiationLength ( double  r)
inline

Definition at line 33 of file MaterialInformation.h.

33 { radlen_ = r; }

References alignCSCRings::r, and radlen_.

◆ setStepLength()

void MaterialInformation::setStepLength ( double  l)
inline

Definition at line 31 of file MaterialInformation.h.

31 { length_ = l; }

References cmsLHEtoEOSManager::l, and length_.

◆ setTrackEta()

void MaterialInformation::setTrackEta ( double  e)
inline

Definition at line 25 of file MaterialInformation.h.

25 { eta_ = e; }

References MillePedeFileConverter_cfg::e, and eta_.

◆ setTrackPhi()

void MaterialInformation::setTrackPhi ( double  f)
inline

Definition at line 27 of file MaterialInformation.h.

27 { phi_ = f; }

References f, and phi_.

◆ stepLength()

double MaterialInformation::stepLength ( ) const
inline

Definition at line 30 of file MaterialInformation.h.

30 { return length_; }

References length_.

◆ trackEta()

double MaterialInformation::trackEta ( ) const
inline

Definition at line 24 of file MaterialInformation.h.

24 { return eta_; }

References eta_.

◆ trackPhi()

double MaterialInformation::trackPhi ( ) const
inline

Definition at line 26 of file MaterialInformation.h.

26 { return phi_; }

References phi_.

◆ vname()

std::string MaterialInformation::vname ( ) const
inline

Definition at line 19 of file MaterialInformation.h.

19 { return vname_; }

References vname_.

Member Data Documentation

◆ eta_

float MaterialInformation::eta_
protected

Definition at line 40 of file MaterialInformation.h.

Referenced by setTrackEta(), and trackEta().

◆ id_

int MaterialInformation::id_
protected

Definition at line 39 of file MaterialInformation.h.

Referenced by id(), and setID().

◆ intlen_

float MaterialInformation::intlen_
protected

Definition at line 44 of file MaterialInformation.h.

Referenced by interactionLength(), and setInteractionLength().

◆ length_

float MaterialInformation::length_
protected

Definition at line 42 of file MaterialInformation.h.

Referenced by setStepLength(), and stepLength().

◆ phi_

float MaterialInformation::phi_
protected

Definition at line 41 of file MaterialInformation.h.

Referenced by setTrackPhi(), and trackPhi().

◆ radlen_

float MaterialInformation::radlen_
protected

Definition at line 43 of file MaterialInformation.h.

Referenced by radiationLength(), and setRadiationLength().

◆ vname_

std::string MaterialInformation::vname_
protected

Definition at line 38 of file MaterialInformation.h.

Referenced by vname().

mps_fire.i
i
Definition: mps_fire.py:428
f
double f[11][100]
Definition: MuScleFitUtils.cc:78
MaterialInformation::phi_
float phi_
Definition: MaterialInformation.h:41
MaterialInformation::vname_
std::string vname_
Definition: MaterialInformation.h:38
MaterialInformation::length_
float length_
Definition: MaterialInformation.h:42
PVValHelper::eta
Definition: PVValidationHelpers.h:70
MaterialInformation::id_
int id_
Definition: MaterialInformation.h:39
MaterialInformation::vname
std::string vname() const
Definition: MaterialInformation.h:19
MaterialInformation::name
static const char * name()
Definition: MaterialInformation.h:17
MaterialInformation::eta_
float eta_
Definition: MaterialInformation.h:40
cmsLHEtoEOSManager.l
l
Definition: cmsLHEtoEOSManager.py:204
alignCSCRings.r
r
Definition: alignCSCRings.py:93
DDAxes::phi
MaterialInformation::radlen_
float radlen_
Definition: MaterialInformation.h:43
MaterialInformation::intlen_
float intlen_
Definition: MaterialInformation.h:44
MillePedeFileConverter_cfg.e
e
Definition: MillePedeFileConverter_cfg.py:37