53 |
virtual void ConstructGeometry(){ |
virtual void ConstructGeometry(){ |
54 |
|
|
55 |
TMapIter *n= (TMapIter *)fsubdet.MakeIterator(); |
TMapIter *n= (TMapIter *)fsubdet.MakeIterator(); |
56 |
TObject *o; while( o=(TObject *) n->Next()) { |
TObject *o; while( (o=(TObject *) n->Next())) { |
57 |
((PamVMCDetector*)fsubdet.GetValue(o))->ConstructGeometry(); |
((PamVMCDetector*)fsubdet.GetValue(o))->ConstructGeometry(); |
58 |
} |
} |
59 |
|
|
73 |
virtual void ConstructCuts(){ |
virtual void ConstructCuts(){ |
74 |
|
|
75 |
TMapIter *n= (TMapIter *)fsubdet.MakeIterator(); |
TMapIter *n= (TMapIter *)fsubdet.MakeIterator(); |
76 |
TObject *o; while( o=(TObject *) n->Next()) { |
TObject *o; while( (o=(TObject *) n->Next())) { |
77 |
((PamVMCDetector*)fsubdet.GetValue(o))->ConstructCuts(); |
((PamVMCDetector*)fsubdet.GetValue(o))->ConstructCuts(); |
78 |
} |
} |
79 |
|
|
84 |
virtual void InitGeometry(){ |
virtual void InitGeometry(){ |
85 |
|
|
86 |
TMapIter *n= (TMapIter *)fsubdet.MakeIterator(); |
TMapIter *n= (TMapIter *)fsubdet.MakeIterator(); |
87 |
TObject *o; while( o=(TObject *) n->Next()) { |
TObject *o; while( (o=(TObject *) n->Next())) { |
88 |
((PamVMCDetector*)fsubdet.GetValue(o))->InitGeometry(); |
((PamVMCDetector*)fsubdet.GetValue(o))->InitGeometry(); |
89 |
} |
} |
90 |
|
|
97 |
virtual void InitMC(){ |
virtual void InitMC(){ |
98 |
|
|
99 |
TMapIter *n= (TMapIter *)fsubdet.MakeIterator(); |
TMapIter *n= (TMapIter *)fsubdet.MakeIterator(); |
100 |
TObject *o; while( o=(TObject *) n->Next()) { |
TObject *o; while( (o=(TObject *) n->Next())) { |
101 |
((PamVMCDetector*)fsubdet.GetValue(o))->InitMC(); |
((PamVMCDetector*)fsubdet.GetValue(o))->InitMC(); |
102 |
} |
} |
103 |
}; |
}; |
110 |
void AddMotherProp() { |
void AddMotherProp() { |
111 |
TMapIter *n= (TMapIter *)fsubdet.MakeIterator(); |
TMapIter *n= (TMapIter *)fsubdet.MakeIterator(); |
112 |
TObject *o=0; |
TObject *o=0; |
113 |
while( o=(TObject *) n->Next()) { |
while( (o=(TObject *) n->Next())) { |
114 |
AddMotherProp( ((PamVMCDetector*)(fsubdet.GetValue(o)))->GetMotherProp() ); |
AddMotherProp( ((PamVMCDetector*)(fsubdet.GetValue(o)))->GetMotherProp() ); |
115 |
} |
} |
116 |
} |
} |
154 |
|
|
155 |
std::cout<<"DETECTOR "<<fdname<<label << std::endl; |
std::cout<<"DETECTOR "<<fdname<<label << std::endl; |
156 |
TMapIter *n= (TMapIter *)tm->MakeIterator(); |
TMapIter *n= (TMapIter *)tm->MakeIterator(); |
157 |
TObject *o; while( o=(TObject *) n->Next()) { |
TObject *o; while( (o=(TObject *) n->Next())) { |
158 |
((PamVMCDetectorSD *)tm->GetValue(o))->Print(); |
((PamVMCDetectorSD *)tm->GetValue(o))->Print(); |
159 |
} |
} |
160 |
} |
} |