35 debug =
pset.getUntrackedParameter<
bool>(
"debug");
83 vector<DTRecHit1DPair> hitsFromPhi1(rangeHitsFromPhi1.first, rangeHitsFromPhi1.second);
84 vector<DTRecHit1DPair> hitsFromPhi2(rangeHitsFromPhi2.first, rangeHitsFromPhi2.second);
86 cout <<
"Number of DTRecHit1DPair in the SL 1 (Phi 1): " << hitsFromPhi1.size() << endl
87 <<
"Number of DTRecHit1DPair in the SL 3 (Phi 2): " << hitsFromPhi2.size() << endl;
96 vector<DTRecHit1DPair> hitsFromTheta(rangeHitsFromTheta.first, rangeHitsFromTheta.second);
98 cout <<
"Number of DTRecHit1DPair in the SL 2 (Theta): " << hitsFromTheta.size() << endl;
111 vector<DTSLRecSegment2D> segments2DTheta(rangeTheta.first, rangeTheta.second);
114 cout <<
"Number of 2D-segments in the second SL (Theta): " << segments2DTheta.size() << endl;
124 cout <<
"Reconstructing Phi segments" << endl;
127 vector<std::shared_ptr<DTHitPairForFit>> pairPhiOwned;
131 cout <<
"There are " << resultPhi.size() <<
" Phi cand" << endl;
140 cout <<
"Reconstructing Theta segments" << endl;
142 vector<DTSLRecSegment2D> segments2DTheta(thetaSegs.
begin(), thetaSegs.
end());
156 cout <<
"No Theta candidates." << endl;
161 cout <<
"Building the concrete DTRecSegment4D" << endl;
162 if (!resultPhi.empty()) {
163 for (vector<DTSegmentCand*>::const_iterator
phi = resultPhi.begin();
phi != resultPhi.end(); ++
phi) {
164 std::unique_ptr<DTChamberRecSegment2D> superPhi(**
phi);
168 cout <<
"superPhi: " << *superPhi << endl;
184 zed->localPosition().x(), (zSL->toLocal(
theChamber->
toGlobal(superPhi->localPosition()))).
y(), 0.);
195 cout <<
"Created a 4D seg " << *newSeg << endl;
210 cout <<
"Created a 4D segment using only the 2D Phi segment" << endl;
238 cout <<
"Created a 4D segment using only the 2D Theta segment" << endl;
250 for (vector<DTSegmentCand*>::iterator
phi = resultPhi.begin();
phi != resultPhi.end(); ++
phi)
257 vector<std::shared_ptr<DTHitPairForFit>>& pairPhiOwned) {
266 cout <<
"DTMeantimerPatternReco4D::buildPhiSuperSegmentsCandidates: "
267 <<
"No Hits in the two Phi SL" << endl;
268 return vector<DTSegmentCand*>();
277 copy(pairPhi2.begin(), pairPhi2.end(), back_inserter(pairPhi1));
279 pairPhiOwned.swap(pairPhi1);