EIC Software
 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 
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