#include <DblQ00IAcsc.h>
Definition at line 24 of file DblQ00IAcsc.h.
◆ DblQ00IAcsc() [1/4]
MuonGM::DblQ00IAcsc::DblQ00IAcsc |
( |
| ) |
|
|
default |
◆ ~DblQ00IAcsc()
MuonGM::DblQ00IAcsc::~DblQ00IAcsc |
( |
| ) |
|
|
default |
◆ DblQ00IAcsc() [2/4]
MuonGM::DblQ00IAcsc::DblQ00IAcsc |
( |
IRDBAccessSvc * |
pAccessSvc, |
|
|
const std::string & |
GeoTag = "" , |
|
|
const std::string & |
GeoNode = "" |
|
) |
| |
Definition at line 25 of file DblQ00IAcsc.cxx.
30 if (
m_nObj == 0) std::cerr<<
"NO IAcsc banks in the MuonDD Database"<<std::endl;
32 for (
size_t i =0;
i<iacsc->size(); ++
i) {
34 m_d[
i].version = (*iacsc)[
i]->getInt(
"VERS");
36 m_d[
i].jff = (*iacsc)[
i]->getInt(
"JFF");
37 m_d[
i].jzz = (*iacsc)[
i]->getInt(
"JZZ");
38 m_d[
i].job = (*iacsc)[
i]->getInt(
"JOB");
39 m_d[
i].wireLayer = (*iacsc)[
i]->getInt(
"JLAY");
40 m_d[
i].tras = 10.*(*iacsc)[
i]->getFloat(
"TRAS");
41 m_d[
i].traz = 10.*(*iacsc)[
i]->getFloat(
"TRAZ");
42 m_d[
i].trat = 10.*(*iacsc)[
i]->getFloat(
"TRAT");
43 m_d[
i].rots = (*iacsc)[
i]->getFloat(
"ROTS");
44 m_d[
i].rotz = (*iacsc)[
i]->getFloat(
"ROTZ");
45 m_d[
i].rott = (*iacsc)[
i]->getFloat(
"ROTT");
46 m_d[
i].type = (*iacsc)[
i]->getString(
"TYP");
50 std::cerr<<
"NO IAcsc banks in the MuonDD Database"<<std::endl;
◆ DblQ00IAcsc() [3/4]
MuonGM::DblQ00IAcsc::DblQ00IAcsc |
( |
const std::string & |
asciiFileName | ) |
|
Definition at line 58 of file DblQ00IAcsc.cxx.
61 :
"<<asciiFileName<<std::endl;
64 m_nObj = std::count(std::istreambuf_iterator<char>(iacscFile),
65 std::istreambuf_iterator<char>(),'\n');
66 std::cout<<"Number of
lines in the CSc Internal
A-
line file <
"<<asciiFileName<<"> is
"<< m_nObj <<std::endl;
70 if (m_nObj == 0) std::cerr<<"NO IAcsc banks in
"<<asciiFileName<<std::endl;
74 // close and reopen file for input
76 iacscFile.open(asciiFileName.c_str());
95 <<m_d[j].jff<<" "<<m_d[j].jzz <<" "
96 <<m_d[j].job<<" "<<m_d[j].wireLayer <<std::endl;
102 if (j!=(int)m_nObj) {
103 std::cerr<<"problem with
DblQ00IAcsc: j=
"<<j<<" m_nObj=
"<<(int)m_nObj<<std::endl;
108 void DblQ00IAcsc::WriteIAcscToAsciiFile(const std::string& filename)
◆ DblQ00IAcsc() [4/4]
◆ data()
◆ getDirName()
std::string MuonGM::DblQ00IAcsc::getDirName |
( |
| ) |
const |
|
inline |
◆ getName()
std::string MuonGM::DblQ00IAcsc::getName |
( |
| ) |
const |
|
inline |
◆ getObjName()
std::string MuonGM::DblQ00IAcsc::getObjName |
( |
| ) |
const |
|
inline |
◆ operator=()
◆ size()
unsigned int MuonGM::DblQ00IAcsc::size |
( |
| ) |
const |
|
inline |
◆ WriteIAcscToAsciiFile()
void MuonGM::DblQ00IAcsc::WriteIAcscToAsciiFile |
( |
const std::string & |
filename | ) |
|
◆ m_d
std::vector<IACSC> MuonGM::DblQ00IAcsc::m_d {} |
|
private |
◆ m_nObj
unsigned int MuonGM::DblQ00IAcsc::m_nObj {0} |
|
private |
The documentation for this class was generated from the following files: