CMS 3D CMS Logo

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 public:
32  FWPhysicsObjectDesc(const std::string& iName,
33  const TClass* iClass,
34  const std::string& iPurpose,
36  const std::string& iModuleLabel = std::string(),
37  const std::string& iProductInstanceLabel = std::string(),
38  const std::string& iProcessName = std::string(),
39  const std::string& iFilterExpression = std::string(),
40  unsigned int iLayer = 1);
41  //virtual ~FWPhysicsObjectDesc();
42 
43  // ---------- const member functions ---------------------
45  const std::string& name() const;
46 
47  const TClass* type() const;
48  const std::string& purpose() const;
49 
50  const std::string& moduleLabel() const;
51  const std::string& productInstanceLabel() const;
52  const std::string& processName() const;
53 
54  //objects with a larger layer number are draw on top of objects with a lower layer number
55  unsigned int layer() const;
56 
57  const std::string& filterExpression() const;
58  // ---------- static member functions --------------------
59 
60  // ---------- member functions ---------------------------
61 
62  void setLabels(const std::string& iModule, const std::string& iProductInstance, const std::string& iProcess);
63  void setName(const std::string& iName);
64 
66 
67 private:
68  //FWPhysicsObjectDesc(const FWPhysicsObjectDesc&); // stop default
69 
70  //const FWPhysicsObjectDesc& operator=(const FWPhysicsObjectDesc&); // stop default
71 
72  // ---------- member data --------------------------------
74  const TClass* m_type;
77 
81 
82  unsigned int m_layer;
83 
85 };
86 
87 #endif
const std::string & moduleLabel() const
const std::string & name() const
const std::string & productInstanceLabel() const
void setLabels(const std::string &iModule, const std::string &iProductInstance, const std::string &iProcess)
const std::string m_purpose
const std::string & filterExpression() const
static const FWDisplayProperties defaultProperties
void setName(const std::string &iName)
const TClass * type() const
const FWDisplayProperties & displayProperties() const
unsigned int layer() const
const std::string & purpose() const
void setDisplayProperties(const FWDisplayProperties &)
std::string m_productInstanceLabel
std::string m_filterExpression
const std::string & processName() 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)
FWDisplayProperties m_displayProperties