ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
Home page
Related Pages
Modules
Namespaces
Classes
Files
External Links
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
DefaultHepRepAttDef.cc
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file DefaultHepRepAttDef.cc
1
// Copyright FreeHEP, 2005.
2
3
#include <iostream>
4
#include <cstring>
5
#include <cctype>
6
#include <algorithm>
7
8
#include "
cheprep/DefaultHepRepAttDef.h
"
9
10
using namespace
std;
11
using namespace
HEPREP;
12
16
namespace
cheprep {
17
18
DefaultHepRepAttDef::DefaultHepRepAttDef(
string
aName,
string
aDesc,
string
aCategory,
string
anExtra)
19
:
name
(aName),
desc
(aDesc), category(aCategory), extra(anExtra) {
20
}
21
22
DefaultHepRepAttDef::~DefaultHepRepAttDef
() {
23
}
24
25
HepRepAttDef
*
DefaultHepRepAttDef::copy
() {
26
return
new
DefaultHepRepAttDef
(
name
,
desc
,
category
,
extra
);
27
}
28
29
string
DefaultHepRepAttDef::getName
() {
30
return
name
;
31
}
32
33
string
DefaultHepRepAttDef::getLowerCaseName
() {
34
string
s
=
name
;
35
transform
(s.begin(), s.end(), s.begin(), (
int
(*)(
int
)) tolower);
36
return
s
;
37
}
38
39
string
DefaultHepRepAttDef::getDescription
() {
40
return
desc
;
41
}
42
43
string
DefaultHepRepAttDef::getCategory
() {
44
return
category
;
45
}
46
47
string
DefaultHepRepAttDef::getExtra
() {
48
return
extra
;
49
}
50
51
}
// cheprep
geant4
tree
geant4-10.6-release
source
visualization
HepRep
src
DefaultHepRepAttDef.cc
Built by
Jin Huang
. updated:
Wed Jun 29 2022 17:25:54
using
1.8.2 with
ECCE GitHub integration