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 // $Id: FWPhysicsObjectDesc.h,v 1.8 2010/05/31 09:44:45 eulisse Exp $
20 //
21 
22 // system include files
23 #include <string>
24 #include "Reflex/Type.h"
25 
26 // user include files
28 
29 // forward declarations
30 
32 {
33 
34 public:
35  FWPhysicsObjectDesc(const std::string& iName,
36  const TClass* iClass,
37  const std::string& iPurpose,
38  const FWDisplayProperties& iProperties =
40  const std::string& iModuleLabel = std::string(),
41  const std::string& iProductInstanceLabel = std::string(),
42  const std::string& iProcessName = std::string(),
43  const std::string& iFilterExpression = std::string(),
44  unsigned int iLayer=1);
45  //virtual ~FWPhysicsObjectDesc();
46 
47  // ---------- const member functions ---------------------
49  const std::string& name() const;
50 
51  const TClass* type() const;
52  const std::string& purpose() const;
53 
54  const std::string& moduleLabel() const;
55  const std::string& productInstanceLabel() const;
56  const std::string& processName() const;
57 
58  //objects with a larger layer number are draw on top of objects with a lower layer number
59  unsigned int layer() const;
60 
61  const std::string& filterExpression() const;
62  // ---------- static member functions --------------------
63 
64  // ---------- member functions ---------------------------
65 
66  void setLabels(const std::string& iModule,
67  const std::string& iProductInstance,
68  const std::string& iProcess);
69  void setName(const std::string& iName);
70 
72 private:
73  //FWPhysicsObjectDesc(const FWPhysicsObjectDesc&); // stop default
74 
75  //const FWPhysicsObjectDesc& operator=(const FWPhysicsObjectDesc&); // stop default
76 
77  // ---------- member data --------------------------------
78  std::string m_name;
79  const TClass* m_type;
80  const std::string m_purpose;
82 
83  std::string m_moduleLabel;
85  std::string m_processName;
86 
87  unsigned int m_layer;
88 
89  std::string m_filterExpression;
90 };
91 
92 
93 #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