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
TypeWithDict.h
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
Definition: FWPhysicsObjectDesc.h:30
FWPhysicsObjectDesc::m_name
std::string m_name
Definition: FWPhysicsObjectDesc.h:73
FWDisplayProperties::defaultProperties
static const FWDisplayProperties defaultProperties
Definition: FWDisplayProperties.h:30
FWPhysicsObjectDesc::setDisplayProperties
void setDisplayProperties(const FWDisplayProperties &)
Definition: FWPhysicsObjectDesc.cc:82
FWDisplayProperties.h
FWPhysicsObjectDesc::productInstanceLabel
const std::string & productInstanceLabel() const
Definition: FWPhysicsObjectDesc.cc:98
FWPhysicsObjectDesc::m_layer
unsigned int m_layer
Definition: FWPhysicsObjectDesc.h:82
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