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 (std::string vname, int id=0, float eta=0, float phi=0, float length=0, float radlen=0, float intlen=0)
 
 MaterialInformation ()
 
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

◆ MaterialInformation() [2/2]

MaterialInformation::MaterialInformation ( )
inline

Member Function Documentation

◆ getName()

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

Definition at line 18 of file MaterialInformation.h.

References name().

Referenced by plotting.Plot::draw().

18 { return name(); }
static const char * name()

◆ id()

int MaterialInformation::id ( void  ) const
inline

Definition at line 20 of file MaterialInformation.h.

References id_.

20 { return id_; }

◆ interactionLength()

double MaterialInformation::interactionLength ( ) const
inline

Definition at line 34 of file MaterialInformation.h.

References intlen_.

34 { return intlen_; }

◆ name()

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

Definition at line 17 of file MaterialInformation.h.

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

17 { return "MaterialInformation"; }

◆ radiationLength()

double MaterialInformation::radiationLength ( ) const
inline

Definition at line 32 of file MaterialInformation.h.

References radlen_.

32 { return radlen_; }

◆ setID()

void MaterialInformation::setID ( int  i)
inline

Definition at line 21 of file MaterialInformation.h.

References mps_fire::i, and id_.

◆ setInteractionLength()

void MaterialInformation::setInteractionLength ( double  i)
inline

Definition at line 35 of file MaterialInformation.h.

References mps_fire::i, and intlen_.

◆ setRadiationLength()

void MaterialInformation::setRadiationLength ( double  r)
inline

Definition at line 33 of file MaterialInformation.h.

References alignCSCRings::r, and radlen_.

◆ setStepLength()

void MaterialInformation::setStepLength ( double  l)
inline

◆ setTrackEta()

void MaterialInformation::setTrackEta ( double  e)
inline

◆ setTrackPhi()

void MaterialInformation::setTrackPhi ( double  f)
inline

Definition at line 27 of file MaterialInformation.h.

References f, and phi_.

27 { phi_ = f; }
double f[11][100]

◆ stepLength()

double MaterialInformation::stepLength ( ) const
inline

Definition at line 30 of file MaterialInformation.h.

References length_.

30 { return length_; }

◆ trackEta()

double MaterialInformation::trackEta ( ) const
inline

Definition at line 24 of file MaterialInformation.h.

References eta_.

24 { return eta_; }

◆ trackPhi()

double MaterialInformation::trackPhi ( ) const
inline

Definition at line 26 of file MaterialInformation.h.

References phi_.

26 { return phi_; }

◆ vname()

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

Definition at line 19 of file MaterialInformation.h.

References vname_.

19 { return 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().