CMS 3D CMS Logo

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

#include <Fireworks/Core/interface/FWPhysicsObjectDesc.h>

Public Member Functions

const FWDisplayPropertiesdisplayProperties () const
 
const std::string & filterExpression () const
 
 FWPhysicsObjectDesc (const std::string &iName, const TClass *iClass, const std::string &iPurpose, const FWDisplayProperties &iProperties=FWDisplayProperties::defaultProperties, const std::string &iModuleLabel=std::string(), const std::string &iProductInstanceLabel=std::string(), const std::string &iProcessName=std::string(), const std::string &iFilterExpression=std::string(), unsigned int iLayer=1)
 
unsigned int layer () const
 
const std::string & moduleLabel () const
 
const std::string & name () const
 
const std::string & processName () const
 
const std::string & productInstanceLabel () const
 
const std::string & purpose () const
 
void setDisplayProperties (const FWDisplayProperties &)
 
void setLabels (const std::string &iModule, const std::string &iProductInstance, const std::string &iProcess)
 
void setName (const std::string &iName)
 
const TClass * type () const
 

Private Attributes

FWDisplayProperties m_displayProperties
 
std::string m_filterExpression
 
unsigned int m_layer
 
std::string m_moduleLabel
 
std::string m_name
 
std::string m_processName
 
std::string m_productInstanceLabel
 
const std::string m_purpose
 
const TClass * m_type
 

Detailed Description

Description: <one line="" class="" summary>="">

Usage: <usage>

Definition at line 30 of file FWPhysicsObjectDesc.h.

Constructor & Destructor Documentation

◆ FWPhysicsObjectDesc()

FWPhysicsObjectDesc::FWPhysicsObjectDesc ( const std::string &  iName,
const TClass *  iClass,
const std::string &  iPurpose,
const FWDisplayProperties iProperties = FWDisplayProperties::defaultProperties,
const std::string &  iModuleLabel = std::string(),
const std::string &  iProductInstanceLabel = std::string(),
const std::string &  iProcessName = std::string(),
const std::string &  iFilterExpression = std::string(),
unsigned int  iLayer = 1 
)

Definition at line 29 of file FWPhysicsObjectDesc.cc.

38  : m_name(iName),
39  m_type(iClass),
40  m_purpose(iPurpose),
41  m_displayProperties(iProperties),
42  m_moduleLabel(iModuleLabel),
43  m_productInstanceLabel(iProductInstanceLabel),
44  m_processName(iProcessName),
45  m_layer(iLayer),
46  m_filterExpression(iFilterExpression) {}
const std::string m_purpose
std::string m_productInstanceLabel
std::string m_filterExpression
FWDisplayProperties m_displayProperties

Member Function Documentation

◆ displayProperties()

const FWDisplayProperties & FWPhysicsObjectDesc::displayProperties ( ) const

Definition at line 89 of file FWPhysicsObjectDesc.cc.

References m_displayProperties.

Referenced by FWEventItem::FWEventItem().

89 { return m_displayProperties; }
FWDisplayProperties m_displayProperties

◆ filterExpression()

const std::string & FWPhysicsObjectDesc::filterExpression ( ) const

Definition at line 104 of file FWPhysicsObjectDesc.cc.

References m_filterExpression.

104 { return m_filterExpression; }
std::string m_filterExpression

◆ layer()

unsigned int FWPhysicsObjectDesc::layer ( ) const

Definition at line 102 of file FWPhysicsObjectDesc.cc.

References m_layer.

Referenced by geometryXMLparser.DTAlignable::index(), and geometryXMLparser.CSCAlignable::index().

102 { return m_layer; }

◆ moduleLabel()

const std::string & FWPhysicsObjectDesc::moduleLabel ( ) const

Definition at line 97 of file FWPhysicsObjectDesc.cc.

References m_moduleLabel.

97 { return m_moduleLabel; }

◆ name()

const std::string & FWPhysicsObjectDesc::name ( void  ) const

◆ processName()

const std::string & FWPhysicsObjectDesc::processName ( ) const

Definition at line 100 of file FWPhysicsObjectDesc.cc.

References m_processName.

100 { return m_processName; }

◆ productInstanceLabel()

const std::string & FWPhysicsObjectDesc::productInstanceLabel ( ) const

Definition at line 98 of file FWPhysicsObjectDesc.cc.

References m_productInstanceLabel.

98 { return m_productInstanceLabel; }
std::string m_productInstanceLabel

◆ purpose()

const std::string & FWPhysicsObjectDesc::purpose ( ) const

Definition at line 95 of file FWPhysicsObjectDesc.cc.

References m_purpose.

95 { return m_purpose; }
const std::string m_purpose

◆ setDisplayProperties()

void FWPhysicsObjectDesc::setDisplayProperties ( const FWDisplayProperties iProperties)

Definition at line 82 of file FWPhysicsObjectDesc.cc.

References m_displayProperties.

82  {
83  m_displayProperties = iProperties;
84 }
FWDisplayProperties m_displayProperties

◆ setLabels()

void FWPhysicsObjectDesc::setLabels ( const std::string &  iModule,
const std::string &  iProductInstance,
const std::string &  iProcess 
)

Definition at line 72 of file FWPhysicsObjectDesc.cc.

References m_moduleLabel, m_processName, and m_productInstanceLabel.

74  {
75  m_moduleLabel = iModule;
76  m_productInstanceLabel = iProductInstance;
77  m_processName = iProcess;
78 }
std::string m_productInstanceLabel

◆ setName()

void FWPhysicsObjectDesc::setName ( const std::string &  iName)

Definition at line 80 of file FWPhysicsObjectDesc.cc.

References m_name.

80 { m_name = iName; }

◆ type()

const TClass * FWPhysicsObjectDesc::type ( ) const

Definition at line 93 of file FWPhysicsObjectDesc.cc.

References m_type.

93 { return m_type; }

Member Data Documentation

◆ m_displayProperties

FWDisplayProperties FWPhysicsObjectDesc::m_displayProperties
private

Definition at line 76 of file FWPhysicsObjectDesc.h.

Referenced by displayProperties(), and setDisplayProperties().

◆ m_filterExpression

std::string FWPhysicsObjectDesc::m_filterExpression
private

Definition at line 84 of file FWPhysicsObjectDesc.h.

Referenced by filterExpression().

◆ m_layer

unsigned int FWPhysicsObjectDesc::m_layer
private

Definition at line 82 of file FWPhysicsObjectDesc.h.

Referenced by layer().

◆ m_moduleLabel

std::string FWPhysicsObjectDesc::m_moduleLabel
private

Definition at line 78 of file FWPhysicsObjectDesc.h.

Referenced by moduleLabel(), and setLabels().

◆ m_name

std::string FWPhysicsObjectDesc::m_name
private

Definition at line 73 of file FWPhysicsObjectDesc.h.

Referenced by name(), and setName().

◆ m_processName

std::string FWPhysicsObjectDesc::m_processName
private

Definition at line 80 of file FWPhysicsObjectDesc.h.

Referenced by processName(), and setLabels().

◆ m_productInstanceLabel

std::string FWPhysicsObjectDesc::m_productInstanceLabel
private

Definition at line 79 of file FWPhysicsObjectDesc.h.

Referenced by productInstanceLabel(), and setLabels().

◆ m_purpose

const std::string FWPhysicsObjectDesc::m_purpose
private

Definition at line 75 of file FWPhysicsObjectDesc.h.

Referenced by purpose().

◆ m_type

const TClass* FWPhysicsObjectDesc::m_type
private

Definition at line 74 of file FWPhysicsObjectDesc.h.

Referenced by type().