Geant4 10.7.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 16 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 15 of file DefaultHepRepTreeID.cc.

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

◆ ~DefaultHepRepTreeID()

cheprep::DefaultHepRepTreeID::~DefaultHepRepTreeID ( )

Definition at line 19 of file DefaultHepRepTreeID.cc.

19 {
20}

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 30 of file DefaultHepRepTreeID.cc.

30 {
31 return name;
32}

◆ 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 22 of file DefaultHepRepTreeID.cc.

22 {
23 return qualifier;
24}

◆ getVersion()

string cheprep::DefaultHepRepTreeID::getVersion ( )
virtual

Returns the version of this treeID.

Returns
version of treeID.

Implements HEPREP::HepRepTreeID.

Definition at line 34 of file DefaultHepRepTreeID.cc.

34 {
35 return version;
36}

◆ 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 26 of file DefaultHepRepTreeID.cc.

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

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