#include <TGCConnectionASDToPP.h>
Definition at line 13 of file TGCConnectionASDToPP.h.
◆ TGCConnectionASDToPP() [1/2]
| LVL1TGCTrigger::TGCConnectionASDToPP::TGCConnectionASDToPP |
( |
| ) |
|
Definition at line 219 of file TGCConnectionASDToPP.cxx.
219 :
223{
224}
TGCForwardBackwardType m_forwardBackward
int m_totalNumberOfChannel
◆ ~TGCConnectionASDToPP()
| LVL1TGCTrigger::TGCConnectionASDToPP::~TGCConnectionASDToPP |
( |
| ) |
|
◆ TGCConnectionASDToPP() [2/2]
◆ dump()
| void LVL1TGCTrigger::TGCConnectionASDToPP::dump |
( |
| ) |
const |
Definition at line 40 of file TGCConnectionASDToPP.cxx.
41{
42#ifdef TGCCOUT
45 std::cout << "layerId chamberID line(WIRE) PPID ConnectorID" << std::endl;
48#endif
49}
◆ getConnection()
| int LVL1TGCTrigger::TGCConnectionASDToPP::getConnection |
( |
const int | sideId, |
|
|
const int | layer, |
|
|
const int | chamber, |
|
|
const int | line, |
|
|
int * | pp, |
|
|
int * | connector, |
|
|
int * | channel ) const |
Definition at line 20 of file TGCConnectionASDToPP.cxx.
22{
25
27
31 return 0;
32 }
33 }
34 *pp=-2;
35 *connector=-2;
37 return -1;
38}
◆ operator=()
Definition at line 184 of file TGCConnectionASDToPP.cxx.
185{
186 if(this != &right) {
189
198 }
213 }
214 }
215 }
216 return *this;
217}
◆ readData()
Definition at line 52 of file TGCConnectionASDToPP.cxx.
54{
57
60
62
64
69 if (!
file)
return false;
70
71 std::string PPType;
72 while(
file.getline(buf,BufferSize)){
73 if((buf[0]=='E')||(buf[0]=='F')){
74
75 std::istringstream
line(buf);
78
88
95
96
97
98
99 int chamberIdBase=0;
101
102 int lineIdBase=0;
103
111 }
112
114 file.getline(buf,BufferSize);
115 std::istringstream
line(buf);
118
119
120 if(PPType=="FST"||PPType=="FSD"||PPType=="EST"||PPType=="ESD"||PPType=="FSI"||PPType=="ESI"){
123 }
124 }
125
126
127
128
130
131
132
133
138 else
139 lineIdBase=0;
140 }
142 }
143
144 }
145 break;
146 }
147 }
148 }
149 return true;
150}
static constexpr int s_forwardLayer[]
static std::string getFilename(int type)
static std::string find_file(const std::string &logical_file_name, const std::string &search_path)
◆ m_chamberId
| int* LVL1TGCTrigger::TGCConnectionASDToPP::m_chamberId |
|
private |
◆ m_channelId
| int* LVL1TGCTrigger::TGCConnectionASDToPP::m_channelId |
|
private |
◆ m_connectorId
| int* LVL1TGCTrigger::TGCConnectionASDToPP::m_connectorId |
|
private |
◆ m_forwardBackward
◆ m_layerId
| int* LVL1TGCTrigger::TGCConnectionASDToPP::m_layerId |
|
private |
◆ m_lineId
| int* LVL1TGCTrigger::TGCConnectionASDToPP::m_lineId |
|
private |
◆ m_PPId
| int* LVL1TGCTrigger::TGCConnectionASDToPP::m_PPId |
|
private |
◆ m_totalNumberOfChannel
| int LVL1TGCTrigger::TGCConnectionASDToPP::m_totalNumberOfChannel |
|
private |
◆ m_type
| int LVL1TGCTrigger::TGCConnectionASDToPP::m_type |
|
private |
◆ s_forwardLayer
| int LVL1TGCTrigger::TGCConnectionASDToPP::s_forwardLayer[] = {2, 1, 0, 4, 3, 6, 5, 8, 7} |
|
staticconstexprprivate |
The documentation for this class was generated from the following files: