#include <TGCConnectionASDToPP.h>
Definition at line 13 of file TGCConnectionASDToPP.h.
◆ TGCConnectionASDToPP() [1/2]
| LVL1TGCTrigger::TGCConnectionASDToPP::TGCConnectionASDToPP |
( |
| ) |
|
Definition at line 226 of file TGCConnectionASDToPP.cxx.
226 :
230{
231}
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 191 of file TGCConnectionASDToPP.cxx.
192{
193 if(this != &right) {
196
205 }
220 }
221 }
222 }
223 return *this;
224}
◆ 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
90
92
94
96
98
100
101
102
103
104 int chamberIdBase=0;
106
107 int lineIdBase=0;
108
109
117 }
118
120 file.getline(buf,BufferSize);
121 std::istringstream
line(buf);
124
125
126 if(PPType=="FST"||PPType=="FSD"||PPType=="EST"||PPType=="ESD"||PPType=="FSI"||PPType=="ESI"){
128
130 }
131 }
132
133
134
135
137
138
139
140
145 else
146 lineIdBase=0;
147 }
149 }
150
151 }
152 break;
153 }
154 }
155 }
156 return true;
157}
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: