7 rawEMET = std::vector<unsigned short>(56*72);
8 rawHDET = std::vector<unsigned short>(56*72);
9 rawEMFG = std::vector<unsigned short>(56*72);
10 rawHDFG = std::vector<unsigned short>(56*72);
11 rawHFET = std::vector<unsigned short>(8*18);
12 combEM = std::vector<unsigned short>(56*72);
13 combHD = std::vector<unsigned short>(56*72);
15 barrelData = std::vector<std::vector<std::vector<unsigned short> > >(18,std::vector<std::vector<unsigned short> >(7,
16 std::vector<unsigned short>(64)));
17 hfData = std::vector<std::vector<unsigned short> >(18,std::vector<unsigned short>(8));
28 std::vector<unsigned short> crate(16);
29 for(
int i = 0;
i< 9;
i++){
30 for(
int j = 0;
j<16;
j++){
38 std::vector<int> indices;
49 const std::vector<bool>& emfg,
const std::vector<bool>& hdfg,
50 const std::vector<unsigned>& hfet){
51 for(
int i = 0;
i<4032;
i++){
57 for(
int i = 0;
i<144;
i++)
68 unsigned short newfg = fg << 8;
73 const std::vector<unsigned short>& fg){
74 std::vector<unsigned short>
comb(56*72);
75 for(
int i = 0;
i<(int)et.size();
i++)
82 std::vector<int> cardTower(2,0);
83 std::vector<int> returnVec(3,0);
109 crateNum = crateNum + 9;
112 returnVec.at(0) = crateNum;
113 for(
int i =0;
i<2;
i++){
114 returnVec.at(
i+1) = cardTower.at(
i);
123 std::vector<int> returnVec(2);
127 towernum = (3-
eta)*4 + phi;
129 towernum = eta*4 + phi + 12;
135 towernum = (7-
eta)*4+phi+16;
137 towernum = (11-
eta)*4+phi;
142 towernum = (7-
eta)*4+(phi-4)+16;
144 towernum = (11-
eta)*4+(phi-4);
151 towernum = (15-
eta)*4+phi+16;
153 towernum = (19-
eta)*4+phi;
158 towernum = (15-
eta)*4+(phi-4)+16;
160 towernum = (19-
eta)*4+(phi-4);
167 towernum = (23-
eta)*4+phi+16;
169 towernum = (27-
eta)*4+phi;
174 towernum = (23-
eta)*4+(phi-4)+16;
176 towernum = (27-
eta)*4+(phi-4);
180 returnVec.at(0) = cardnum;
181 returnVec.at(1) = towernum;
189 std::vector<int> returnVec(2);
193 towernum = eta*4+
phi;
197 towernum = eta*4+(phi-4);
203 towernum = (eta-8)*4+phi;
207 towernum = (eta-8)*4+(phi-4);
213 towernum = (eta-16)*4+phi;
217 towernum = (eta-16)*4+(phi-4);
223 towernum = (27-
eta)*4+phi;
225 towernum = (27-
eta)*4+phi+12;
228 returnVec.at(0)=cardnum;
229 returnVec.at(1)=towernum;
std::vector< std::vector< std::vector< unsigned short > > > barrelData
std::vector< std::vector< unsigned short > > giveHF()
std::vector< unsigned short > combHD
std::vector< int > highEtaMap(int eta, int phi)
unsigned short combine(unsigned short et, unsigned short fg)
std::vector< unsigned short > rawHDFG
std::vector< std::vector< unsigned short > > hfData
std::vector< int > orcamap(int eta, int phi)
std::vector< unsigned short > combEM
Geom::Phi< T > phi() const
std::vector< int > lowEtaMap(int eta, int phi)
std::vector< unsigned short > rawEMFG
std::vector< unsigned short > combVec(const std::vector< unsigned short > &et, const std::vector< unsigned short > &fg)
std::vector< unsigned short > rawHFET
std::vector< unsigned short > rawEMET
std::vector< unsigned short > rawHDET
std::vector< std::vector< std::vector< unsigned short > > > giveBarrel()
void readData(const std::vector< unsigned > &emet, const std::vector< unsigned > &hdet, const std::vector< bool > &emfg, const std::vector< bool > &hdfg, const std::vector< unsigned > &hfet)