3 TFile *
file =
new TFile(
"simparams.root");
5 file->Get(
"FairBaseParSet");
8 file->Get(
"FairGeoParSet");
11 cout <<
"Could not find valid GeoManager. Abort now!" << endl;
20 TCanvas *
c =
new TCanvas(
"c",
"", 400, 0, 900, 900);
21 TH2F *
h2 =
new TH2F(
"h2",
"", 100, -42, 42, 100, -42, 42);
36 for(itube = 1; itube < fTubeArray->GetEntriesFast(); itube++) {
51 cout <<
"WHICH tube do you want to test? [to exit type -1]" << endl;
53 if(itube == -1)
exit(0);
54 cout <<
"TESTING tube " << itube << endl;
57 cout <<
"this tube does not exist" << endl;
62 cout <<
"nof neighboring tubes: " << neighborings->GetSize() << endl;
64 arc->SetFillColor(kYellow);
67 for(
int inei = 0; inei < neighborings.GetSize(); inei++) {
68 tube = (
PndSttTube*) fTubeArray.At(neighborings.At(inei));
70 cout <<
" " << neighborings.At(inei);
72 arc =
new TArc(position.X(), position.Y(), 0.5);
77 mrk =
new TMarker(position.X(), position.Y(), 6);
84 mrk->SetMarkerColor(3);
TGeoManager * gGeoManager
TArrayI GetNeighborings()
TClonesArray * FillTubeArray()
TVector3 GetWireDirection()