#include <ProcessHeader.h>
Inheritance diagram for LHCb::ProcessHeader:
Public Member Functions | |
| ProcessHeader (const LHCb::ProcessHeader &head) | |
| Copy constructor. Creates a new ProcessHeader with the same information. | |
| ProcessHeader () | |
| Default Constructor. | |
| virtual | ~ProcessHeader () |
| Default Destructor. | |
| virtual const CLID & | clID () const |
| virtual std::ostream & | fillStream (std::ostream &s) const |
| Fill the ASCII output stream. | |
| const std::vector< long int > & | randomSeeds () const |
| Retrieve const random number seeds for this step. | |
| void | setRandomSeeds (const std::vector< long int > &value) |
| Update random number seeds for this step. | |
| const std::string & | applicationName () const |
| Retrieve const Application or Program Name (e.g. | |
| void | setApplicationName (const std::string &value) |
| Update Application or Program Name (e.g. | |
| const std::string & | applicationVersion () const |
| Retrieve const Application or Program version. | |
| void | setApplicationVersion (const std::string &value) |
| Update Application or Program version. | |
| unsigned int | runNumber () const |
| Retrieve const Run number. | |
| void | setRunNumber (unsigned int value) |
| Update Run number. | |
| const std::vector< LHCb::CondDBNameTagPair > & | condDBTags () const |
| Retrieve const Conditions database tags. | |
| void | setCondDBTags (const std::vector< LHCb::CondDBNameTagPair > &value) |
| Update Conditions database tags. | |
| void | setRegistry (IRegistry *pRegistry) |
| IRegistry * | registry () const |
| LinkManager * | linkMgr () const |
| unsigned char | version () const |
| void | setVersion (unsigned char vsn) |
| unsigned long | refCount () const |
| virtual unsigned long | addRef () |
| virtual unsigned long | release () |
| const std::string & | name () const |
| virtual StreamBuffer & | serialize (StreamBuffer &s) |
| virtual StreamBuffer & | serialize (StreamBuffer &s) const |
Static Public Member Functions | |
| static const CLID & | classID () |
| static void * | operator new (size_t size) |
| operator new | |
| static void * | operator new (size_t size, void *pObj) |
| placement operator new it is needed by libstdc++ 3.2.3 (e.g. | |
| static void | operator delete (void *p) |
| operator delete | |
| static void | operator delete (void *p, void *pObj) |
| placement operator delete not sure if really needed, but it does not harm | |
Private Attributes | |
| std::vector< long int > | m_randomSeeds |
| random number seeds for this step | |
| std::string | m_applicationName |
| Application or Program Name (e.g. Gauss, Boole or Pythia). | |
| std::string | m_applicationVersion |
| Application or Program version. | |
| unsigned int | m_runNumber |
| Run number. | |
| std::vector< LHCb::CondDBNameTagPair > | m_condDBTags |
| Conditions database tags. | |
Friends | |
| friend std::ostream & | operator<< (std::ostream &s, const DataObject &obj) |
..
Definition at line 56 of file ProcessHeader.h.
| LHCb::ProcessHeader::ProcessHeader | ( | const LHCb::ProcessHeader & | head | ) | [inline] |
Copy constructor. Creates a new ProcessHeader with the same information.
Definition at line 61 of file ProcessHeader.h.
00061 : DataObject(), 00062 m_randomSeeds(head.randomSeeds()), 00063 m_applicationName(head.applicationName()), 00064 m_applicationVersion(head.applicationVersion()), 00065 m_runNumber(head.runNumber()), 00066 m_condDBTags(head.condDBTags()) {}
| LHCb::ProcessHeader::ProcessHeader | ( | ) | [inline] |
Default Constructor.
Definition at line 69 of file ProcessHeader.h.
00069 : m_randomSeeds(), 00070 m_applicationName("Unknown"), 00071 m_applicationVersion("Unknown"), 00072 m_runNumber(0), 00073 m_condDBTags() {}
| virtual LHCb::ProcessHeader::~ProcessHeader | ( | ) | [inline, virtual] |
| const CLID & LHCb::ProcessHeader::clID | ( | ) | const [inline, virtual] |
Reimplemented from DataObject.
Definition at line 183 of file ProcessHeader.h.
00184 { 00185 return LHCb::ProcessHeader::classID(); 00186 }
| const CLID & LHCb::ProcessHeader::classID | ( | ) | [inline, static] |
| std::ostream & LHCb::ProcessHeader::fillStream | ( | std::ostream & | s | ) | const [inline, virtual] |
Fill the ASCII output stream.
Reimplemented from DataObject.
Definition at line 193 of file ProcessHeader.h.
00194 { 00195 s << "{ " << "randomSeeds : " << m_randomSeeds << std::endl 00196 << "applicationName : " << m_applicationName << std::endl 00197 << "applicationVersion : " << m_applicationVersion << std::endl 00198 << "runNumber : " << m_runNumber << std::endl 00199 << "condDBTags : " << m_condDBTags << std::endl << " }"; 00200 return s; 00201 }
| const std::vector< long int > & LHCb::ProcessHeader::randomSeeds | ( | ) | const [inline] |
Retrieve const random number seeds for this step.
Definition at line 204 of file ProcessHeader.h.
00205 { 00206 return m_randomSeeds; 00207 }
| void LHCb::ProcessHeader::setRandomSeeds | ( | const std::vector< long int > & | value | ) | [inline] |
Update random number seeds for this step.
Definition at line 209 of file ProcessHeader.h.
00210 { 00211 m_randomSeeds = value; 00212 }
| const std::string & LHCb::ProcessHeader::applicationName | ( | ) | const [inline] |
Retrieve const Application or Program Name (e.g.
Gauss, Boole or Pythia)
Definition at line 214 of file ProcessHeader.h.
00215 { 00216 return m_applicationName; 00217 }
| void LHCb::ProcessHeader::setApplicationName | ( | const std::string & | value | ) | [inline] |
Update Application or Program Name (e.g.
Gauss, Boole or Pythia)
Definition at line 219 of file ProcessHeader.h.
00220 { 00221 m_applicationName = value; 00222 }
| const std::string & LHCb::ProcessHeader::applicationVersion | ( | ) | const [inline] |
Retrieve const Application or Program version.
Definition at line 224 of file ProcessHeader.h.
00225 { 00226 return m_applicationVersion; 00227 }
| void LHCb::ProcessHeader::setApplicationVersion | ( | const std::string & | value | ) | [inline] |
Update Application or Program version.
Definition at line 229 of file ProcessHeader.h.
00230 { 00231 m_applicationVersion = value; 00232 }
| unsigned int LHCb::ProcessHeader::runNumber | ( | ) | const [inline] |
Retrieve const Run number.
Definition at line 234 of file ProcessHeader.h.
00235 { 00236 return m_runNumber; 00237 }
| void LHCb::ProcessHeader::setRunNumber | ( | unsigned int | value | ) | [inline] |
Update Run number.
Definition at line 239 of file ProcessHeader.h.
00240 { 00241 m_runNumber = value; 00242 }
| const std::vector< LHCb::CondDBNameTagPair > & LHCb::ProcessHeader::condDBTags | ( | ) | const [inline] |
Retrieve const Conditions database tags.
Definition at line 244 of file ProcessHeader.h.
00245 { 00246 return m_condDBTags; 00247 }
| void LHCb::ProcessHeader::setCondDBTags | ( | const std::vector< LHCb::CondDBNameTagPair > & | value | ) | [inline] |
Update Conditions database tags.
Definition at line 249 of file ProcessHeader.h.
00250 { 00251 m_condDBTags = value; 00252 }
| static void* LHCb::ProcessHeader::operator new | ( | size_t | size | ) | [inline, static] |
operator new
Definition at line 128 of file ProcessHeader.h.
00129 { 00130 return ( sizeof(ProcessHeader) == size ? 00131 boost::singleton_pool<ProcessHeader, sizeof(ProcessHeader)>::malloc() : 00132 ::operator new(size) ); 00133 }
| static void* LHCb::ProcessHeader::operator new | ( | size_t | size, | |
| void * | pObj | |||
| ) | [inline, static] |
placement operator new it is needed by libstdc++ 3.2.3 (e.g.
in std::vector) it is not needed in libstdc++ >= 3.4
Definition at line 138 of file ProcessHeader.h.
| static void LHCb::ProcessHeader::operator delete | ( | void * | p | ) | [inline, static] |
operator delete
Definition at line 144 of file ProcessHeader.h.
00145 { 00146 boost::singleton_pool<ProcessHeader, sizeof(ProcessHeader)>::is_from(p) ? 00147 boost::singleton_pool<ProcessHeader, sizeof(ProcessHeader)>::free(p) : 00148 ::operator delete(p); 00149 }
| static void LHCb::ProcessHeader::operator delete | ( | void * | p, | |
| void * | pObj | |||
| ) | [inline, static] |
placement operator delete not sure if really needed, but it does not harm
Definition at line 153 of file ProcessHeader.h.
00154 { 00155 ::operator delete (p, pObj); 00156 }
std::vector< long int > LHCb::ProcessHeader::m_randomSeeds [private] |
std::string LHCb::ProcessHeader::m_applicationName [private] |
Application or Program Name (e.g. Gauss, Boole or Pythia).
Definition at line 163 of file ProcessHeader.h.
std::string LHCb::ProcessHeader::m_applicationVersion [private] |
unsigned int LHCb::ProcessHeader::m_runNumber [private] |
std::vector<LHCb::CondDBNameTagPair> LHCb::ProcessHeader::m_condDBTags [private] |
1.4.7