49 , m_cluster(rhs.m_cluster)
50 , m_seedCell(rhs.m_seedCell)
51 , m_nCellsInEta(rhs.m_nCellsInEta)
56 , m_sdevEta5_WRTmean(rhs.m_sdevEta5_WRTmean)
57 , m_sdevEta5_WRTmode(rhs.m_sdevEta5_WRTmode)
58 , m_sdevPt5(rhs.m_sdevPt5)
59 , m_deltaPt12_min(rhs.m_deltaPt12_min)
60 , m_Fside_3not1(rhs.m_Fside_3not1)
61 , m_Fside_5not1(rhs.m_Fside_5not1)
62 , m_Fside_5not3(rhs.m_Fside_5not3)
63 , m_fracSide_3not1(rhs.m_fracSide_3not1)
64 , m_fracSide_5not1(rhs.m_fracSide_5not1)
65 , m_fracSide_5not3(rhs.m_fracSide_5not3)
66 , m_pt1OverPt3(rhs.m_pt1OverPt3)
67 , m_pt3OverPt5(rhs.m_pt3OverPt5)
68 , m_mergedScore(rhs.m_mergedScore)
69 , m_signalScore(rhs.m_signalScore)
70 , m_nPhotons(rhs.m_nPhotons)
140 std::vector<std::vector<const CaloCell*> > cellVector;
141 std::vector<const CaloCell*> oneEtaLayer;
142 for(
int iCell=0; iCell<
m_nCellsInEta;++iCell) oneEtaLayer.push_back(NULL);
144 cellVector.push_back(oneEtaLayer);
145 cellVector.push_back(oneEtaLayer);
155 for(;cellItr!=cellItrE;++cellItr){
158 if((*cellItr)->caloDDE()->calo_hash() != (*itr))
continue;
159 mergedCell = (*cellItr);
162 if(mergedCell!=NULL)
break;
165 if((*cellItr)->caloDDE()->calo_hash() != (*itr))
continue;
166 mergedCell = (*cellItr);
169 if(mergedCell!=NULL)
break;
172 int nCellsFromSeed = 1;
175 std::vector<IdentifierHash>
next;
179 for(cellItr=this->
cluster()->cell_begin();cellItr!=cellItrE;++cellItr){
181 for( ; itr!=
next.end(); ++itr ){
182 if((*cellItr)->caloDDE()->calo_hash() != (*itr))
continue;
183 cellVector.at(0).at(
m_nCellsInEta/2+nCellsFromSeed) = (*cellItr);
184 lastCell = (*cellItr);
194 for(cellItr=this->
cluster()->cell_begin();cellItr!=cellItrE;++cellItr){
196 for( ; itr!=
next.end(); ++itr ){
197 if((*cellItr)->caloDDE()->calo_hash() != (*itr))
continue;
198 cellVector.at(0).at(
m_nCellsInEta/2-nCellsFromSeed) = (*cellItr);
199 lastCell = (*cellItr);
205 int nCellsFromMerged = 1;
206 lastCell = mergedCell;
211 for(cellItr=this->
cluster()->cell_begin();cellItr!=cellItrE;++cellItr){
213 for( ; itr!=
next.end(); ++itr ){
214 if((*cellItr)->caloDDE()->calo_hash() != (*itr))
continue;
215 cellVector.at(1).at(
m_nCellsInEta/2+nCellsFromMerged) = (*cellItr);
216 lastCell = (*cellItr);
221 nCellsFromMerged = 1;
222 lastCell = mergedCell;
226 for(cellItr=this->
cluster()->cell_begin();cellItr!=cellItrE;++cellItr){
228 for( ; itr!=
next.end(); ++itr ){
229 if((*cellItr)->caloDDE()->calo_hash() != (*itr))
continue;
230 cellVector.at(1).at(
m_nCellsInEta/2-nCellsFromMerged) = (*cellItr);
231 lastCell = (*cellItr);
242 int oldpr = std::cout.precision(5);
244 std::cout <<
"in TauShot::dump()" << std::endl;
245 std::cout <<
"pt: " << this->
pt() << std::endl;
246 std::cout <<
"eta: " << this->
eta() << std::endl;
247 std::cout <<
"phi: " << this->
phi() << std::endl;
248 std::cout <<
"m: " << this->
m() << std::endl;
249 std::cout.precision(oldpr);