TMath::Sqrt(0.0130*0.0130+0.0050*0.0050));\r
AddLayer((char*)"spd2_its", 7.6, 0.0114, 2.57e-01, TMath::Sqrt(0.0012*0.0012+0.0030*0.0030),\r
TMath::Sqrt(0.0130*0.0130+0.0050*0.0050));\r
- AddLayer((char*)"sdd1_its",15.0, 0.0113, 3.34e-01, TMath::Sqrt(0.0035*0.0035+0.0500*0.0500),\r
+ AddLayer((char*)"sdd1_its",15.0, 0.0113, 3.34e-01, TMath::Sqrt(0.0035*0.0035+0.0100*0.0100),\r
TMath::Sqrt(0.0025*0.0025+0.0050*0.0050));\r
- AddLayer((char*)"sdd2_its",23.9, 0.0126, 3.50e-01, TMath::Sqrt(0.0035*0.0035+0.0500*0.0500),\r
+ AddLayer((char*)"sdd2_its",23.9, 0.0126, 3.50e-01, TMath::Sqrt(0.0035*0.0035+0.0100*0.0100),\r
TMath::Sqrt(0.0025*0.0025+0.0050*0.0050));\r
AddLayer((char*)"ssd1_its",38.0, 0.0083, 2.38e-01, TMath::Sqrt(0.0020*0.0020+0.0020*0.0020), \r
TMath::Sqrt(0.0830*0.0830+0.1000*0.1000));\r
TStopwatch sw;\r
sw.Start();\r
for (int it=0;it<nMC;it++) {\r
- // printf("ev: %d\n",it);\r
+ printf("ev: %d\n",it);\r
SolveSingleTrackViaKalmanMC(offset);\r
KMCProbe* trc = vtx->GetWinnerMCTrack();\r
+ vtx->GetMCTracks()->Print();\r
if (progressP==1 || (progressP>0 && (it%progressP)==0)) {\r
printf("%d%% done |",it*100/nMC); \r
sw.Stop(); sw.Print(); sw.Start(kFALSE);\r
int il = probe->GetInnerLayerChecked();\r
int nITS = probe->GetNITSHits();\r
int nITSMax = nITS + il; // maximum it can have\r
- if (nITSMax<fMinITSHits) {kill = kTRUE; break;} // has no chance to collect enough ITS hits\r
+ if (nITSMax<fMinITSHits) {\r
+ kill = kTRUE; \r
+ break;\r
+ } // has no chance to collect enough ITS hits\r
//\r
int ngr = fPattITS.GetSize();\r
if (ngr>0) { // check pattern\r
UInt_t patt = probe->GetHitsPatt();\r
// complete the layers not checked yet\r
for (int i=il;i--;) patt |= (0x1<<i);\r
- for (int ig=ngr;ig--;) if (!(((UInt_t)fPattITS[ig]) & patt)) {kill = kTRUE; break;}\r
+ for (int ig=ngr;ig--;) \r
+ if (!(((UInt_t)fPattITS[ig]) & patt)) {\r
+ kill = kTRUE; \r
+ break;\r
+ }\r
//\r
}\r
//\r
chi2min = nMiss*probe->GetMissingHitPenalty();\r
}\r
chi2min /= ((nITSMax<<1)-KMCProbe::kNDOF);\r
- if (chi2min>fMaxNormChi2NDF) {kill = kTRUE; break;}\r
+ if (chi2min>fMaxNormChi2NDF) {\r
+ kill = kTRUE; \r
+ break;\r
+ }\r
}\r
//\r
// loose vertex constraint\r
if (nITS>=2) {\r
probe->GetZAt(0,fBFieldG,dst);\r
//printf("Zd (F%d): %f\n",probe->GetNFakeITSHits(),dst);\r
- if (TMath::Abs(dst)>10.) {kill = kTRUE; break;}\r
+ if (TMath::Abs(dst)>10.) {\r
+ kill = kTRUE; \r
+ break;\r
+ }\r
}\r
if (nITS>=3) {\r
probe->GetYAt(0,fBFieldG,dst);\r
//printf("Dd (F%d): %f\n",probe->GetNFakeITSHits(),dst);\r
- if (TMath::Abs(dst)>10.) {kill = kTRUE; break;}\r
+ if (TMath::Abs(dst)>10.) {\r
+ kill = kTRUE; \r
+ break;\r
+ }\r
}\r
//\r
break;\r