CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
FWPhysicsObjectDesc.h
Go to the documentation of this file.
1 #ifndef Fireworks_Core_FWPhysicsObjectDesc_h
2 #define Fireworks_Core_FWPhysicsObjectDesc_h
3 // -*- C++ -*-
4 //
5 // Package: Core
6 // Class : FWPhysicsObjectDesc
7 //
16 //
17 // Original Author: Chris Jones
18 // Created: Tue Jan 15 15:04:58 EST 2008
19 //
20 
21 // system include files
22 #include <string>
24 
25 // user include files
27 
28 // forward declarations
29 
31 {
32 
33 public:
34  FWPhysicsObjectDesc(const std::string& iName,
35  const TClass* iClass,
36  const std::string& iPurpose,
37  const FWDisplayProperties& iProperties =
39  const std::string& iModuleLabel = std::string(),
40  const std::string& iProductInstanceLabel = std::string(),
41  const std::string& iProcessName = std::string(),
42  const std::string& iFilterExpression = std::string(),
43  unsigned int iLayer=1);
44  //virtual ~FWPhysicsObjectDesc();
45 
46  // ---------- const member functions ---------------------
48  const std::string& name() const;
49 
50  const TClass* type() const;
51  const std::string& purpose() const;
52 
53  const std::string& moduleLabel() const;
54  const std::string& productInstanceLabel() const;
55  const std::string& processName() const;
56 
57  //objects with a larger layer number are draw on top of objects with a lower layer number
58  unsigned int layer() const;
59 
60  const std::string& filterExpression() const;
61  // ---------- static member functions --------------------
62 
63  // ---------- member functions ---------------------------
64 
65  void setLabels(const std::string& iModule,
66  const std::string& iProductInstance,
67  const std::string& iProcess);
68  void setName(const std::string& iName);
69 
71 private:
72  //FWPhysicsObjectDesc(const FWPhysicsObjectDesc&); // stop default
73 
74  //const FWPhysicsObjectDesc& operator=(const FWPhysicsObjectDesc&); // stop default
75 
76  // ---------- member data --------------------------------
78  const TClass* m_type;
81 
85 
86  unsigned int m_layer;
87 
89 };
90 
91 
92 #endif
const FWDisplayProperties & displayProperties() const
unsigned int layer() const
void setLabels(const std::string &iModule, const std::string &iProductInstance, const std::string &iProcess)
const std::string m_purpose
const TClass * type() const
static const FWDisplayProperties defaultProperties
void setName(const std::string &iName)
const std::string & moduleLabel() const
void setDisplayProperties(const FWDisplayProperties &)
const std::string & productInstanceLabel() const
std::string m_productInstanceLabel
std::string m_filterExpression
const std::string & processName() 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)
const std::string & name() const
FWDisplayProperties m_displayProperties
const std::string & purpose() const