CMS 3D CMS Logo

FWPhysicsObjectDesc.cc
Go to the documentation of this file.
1 // -*- C++ -*-
2 //
3 // Package: Core
4 // Class : FWPhysicsObjectDesc
5 //
6 // Implementation:
7 // <Notes on implementation>
8 //
9 // Original Author: Chris Jones
10 // Created: Tue Jan 15 15:05:02 EST 2008
11 //
12 
13 // system include files
14 
15 // user include files
17 
18 //
19 // constants, enums and typedefs
20 //
21 
22 //
23 // static data member definitions
24 //
25 
26 //
27 // constructors and destructor
28 //
30  const TClass* iClass,
31  const std::string& iPurpose,
32  const FWDisplayProperties& iProperties,
33  const std::string& iModuleLabel,
34  const std::string& iProductInstanceLabel,
35  const std::string& iProcessName,
36  const std::string& iFilterExpression,
37  unsigned int iLayer)
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) {}
47 
48 // FWPhysicsObjectDesc::FWPhysicsObjectDesc(const FWPhysicsObjectDesc& rhs)
49 // {
50 // // do actual copying here;
51 // }
52 
53 //FWPhysicsObjectDesc::~FWPhysicsObjectDesc()
54 //{
55 //}
56 
57 //
58 // assignment operators
59 //
60 // const FWPhysicsObjectDesc& FWPhysicsObjectDesc::operator=(const FWPhysicsObjectDesc& rhs)
61 // {
62 // //An exception safe implementation is
63 // FWPhysicsObjectDesc temp(rhs);
64 // swap(rhs);
65 //
66 // return *this;
67 // }
68 
69 //
70 // member functions
71 //
73  const std::string& iProductInstance,
74  const std::string& iProcess) {
75  m_moduleLabel = iModule;
76  m_productInstanceLabel = iProductInstance;
77  m_processName = iProcess;
78 }
79 
80 void FWPhysicsObjectDesc::setName(const std::string& iName) { m_name = iName; }
81 
83  m_displayProperties = iProperties;
84 }
85 
86 //
87 // const member functions
88 //
90 
91 const std::string& FWPhysicsObjectDesc::name() const { return m_name; }
92 
93 const TClass* FWPhysicsObjectDesc::type() const { return m_type; }
94 
96 
99 
101 
102 unsigned int FWPhysicsObjectDesc::layer() const { return m_layer; }
103 
105 //
106 // static member functions
107 //
FWPhysicsObjectDesc::m_productInstanceLabel
std::string m_productInstanceLabel
Definition: FWPhysicsObjectDesc.h:79
FWPhysicsObjectDesc::m_processName
std::string m_processName
Definition: FWPhysicsObjectDesc.h:80
FWPhysicsObjectDesc::setLabels
void setLabels(const std::string &iModule, const std::string &iProductInstance, const std::string &iProcess)
Definition: FWPhysicsObjectDesc.cc:72
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
FWPhysicsObjectDesc::m_filterExpression
std::string m_filterExpression
Definition: FWPhysicsObjectDesc.h:84
FWPhysicsObjectDesc::m_type
const TClass * m_type
Definition: FWPhysicsObjectDesc.h:74
FWPhysicsObjectDesc::processName
const std::string & processName() const
Definition: FWPhysicsObjectDesc.cc:100
FWPhysicsObjectDesc::moduleLabel
const std::string & moduleLabel() const
Definition: FWPhysicsObjectDesc.cc:97
FWPhysicsObjectDesc::name
const std::string & name() const
Definition: FWPhysicsObjectDesc.cc:91
FWPhysicsObjectDesc::m_name
std::string m_name
Definition: FWPhysicsObjectDesc.h:73
FWPhysicsObjectDesc::setDisplayProperties
void setDisplayProperties(const FWDisplayProperties &)
Definition: FWPhysicsObjectDesc.cc:82
FWPhysicsObjectDesc::productInstanceLabel
const std::string & productInstanceLabel() const
Definition: FWPhysicsObjectDesc.cc:98
FWPhysicsObjectDesc::m_layer
unsigned int m_layer
Definition: FWPhysicsObjectDesc.h:82
FWPhysicsObjectDesc.h
FWPhysicsObjectDesc::type
const TClass * type() const
Definition: FWPhysicsObjectDesc.cc:93
FWDisplayProperties
Definition: FWDisplayProperties.h:28
FWPhysicsObjectDesc::filterExpression
const std::string & filterExpression() const
Definition: FWPhysicsObjectDesc.cc:104
FWPhysicsObjectDesc::displayProperties
const FWDisplayProperties & displayProperties() const
Definition: FWPhysicsObjectDesc.cc:89
FWPhysicsObjectDesc::m_displayProperties
FWDisplayProperties m_displayProperties
Definition: FWPhysicsObjectDesc.h:76
FWPhysicsObjectDesc::layer
unsigned int layer() const
Definition: FWPhysicsObjectDesc.cc:102
FWPhysicsObjectDesc::m_purpose
const std::string m_purpose
Definition: FWPhysicsObjectDesc.h:75
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: FWPhysicsObjectDesc.cc:29
FWPhysicsObjectDesc::m_moduleLabel
std::string m_moduleLabel
Definition: FWPhysicsObjectDesc.h:78
FWPhysicsObjectDesc::setName
void setName(const std::string &iName)
Definition: FWPhysicsObjectDesc.cc:80
FWPhysicsObjectDesc::purpose
const std::string & purpose() const
Definition: FWPhysicsObjectDesc.cc:95