EIC Software
Reference for
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
EicDetName.cxx
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file EicDetName.cxx
1
//
2
// AYK (ayk@bnl.gov), 2013/06/13
3
//
4
// EIC detector name service class;
5
//
6
7
#include <cstring>
8
9
#include "
EicDetName.h
"
10
11
// ---------------------------------------------------------------------------------------
12
13
EicDetName::EicDetName
(
const
char
*
name
)
14
{
15
if
(name)
16
{
17
// Upper case name (like 'TPC');
18
mUname
=
ToUpper
(name);
19
20
// String name starting with capital letter (like 'Tpc');
21
mCname
=
ToLower
(name);
mCname
[0] = toupper(
mCname
[0]);
22
23
// Lower case name (like 'tpc');
24
mLname
=
ToLower
(name);
25
}
//if
26
//else
27
//_uname = _lname = _cname = "";
28
}
// EicDetName::EicDetName()
29
30
// ---------------------------------------------------------------------------------------
31
32
ClassImp
(
EicDetName
)
EicRoot
blob
master
eic
base
EicDetName.cxx
Built by
Jin Huang
. updated:
Mon Jan 22 2024 12:43:33
using
1.8.2 with
EIC GitHub integration