Geant4 9.6.0
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
cheprep::DefaultHepRepTreeID Class Reference

#include <DefaultHepRepTreeID.h>

+ Inheritance diagram for cheprep::DefaultHepRepTreeID:

Public Member Functions

 DefaultHepRepTreeID (std::string name, std::string version, std::string qualifier="top_level")
 
 ~DefaultHepRepTreeID ()
 
std::string getQualifier ()
 
void setQualifier (std::string qualifier)
 
std::string getName ()
 
std::string getVersion ()
 
- Public Member Functions inherited from HEPREP::HepRepTreeID
virtual ~HepRepTreeID ()
 Destructor.
 
virtual std::string getName ()=0
 
virtual std::string getVersion ()=0
 
virtual std::string getQualifier ()=0
 
virtual void setQualifier (std::string qualifier)=0
 

Detailed Description

Definition at line 17 of file DefaultHepRepTreeID.h.

Constructor & Destructor Documentation

◆ DefaultHepRepTreeID()

cheprep::DefaultHepRepTreeID::DefaultHepRepTreeID ( std::string  name,
std::string  version,
std::string  qualifier = "top_level" 
)

Definition at line 16 of file DefaultHepRepTreeID.cc.

17 : name(aName), version(aVersion), qualifier(aQualifier) {
18}

◆ ~DefaultHepRepTreeID()

cheprep::DefaultHepRepTreeID::~DefaultHepRepTreeID ( )

Definition at line 20 of file DefaultHepRepTreeID.cc.

20 {
21}

Member Function Documentation

◆ getName()

string cheprep::DefaultHepRepTreeID::getName ( )
virtual

Returns the name of this treeID.

Returns
name of treeID.

Implements HEPREP::HepRepTreeID.

Definition at line 31 of file DefaultHepRepTreeID.cc.

31 {
32 return name;
33}

◆ getQualifier()

string cheprep::DefaultHepRepTreeID::getQualifier ( )
virtual

Returns the qualifier that qualifies the relation that this treeID has with what it refers to.

Returns
qualifier.

Implements HEPREP::HepRepTreeID.

Definition at line 23 of file DefaultHepRepTreeID.cc.

23 {
24 return qualifier;
25}

◆ getVersion()

string cheprep::DefaultHepRepTreeID::getVersion ( )
virtual

Returns the version of this treeID.

Returns
version of treeID.

Implements HEPREP::HepRepTreeID.

Definition at line 35 of file DefaultHepRepTreeID.cc.

35 {
36 return version;
37}

◆ setQualifier()

void cheprep::DefaultHepRepTreeID::setQualifier ( std::string  qualifier)
virtual

Sets the qualifier that qualifies the relation that this treeID has with what it refers to.

Parameters
qualifierto be set.

Implements HEPREP::HepRepTreeID.

Definition at line 27 of file DefaultHepRepTreeID.cc.

27 {
28 this->qualifier = qual;
29}

The documentation for this class was generated from the following files: