35 |
void Register(){ |
void Register(){ |
36 |
// std::cout <<" Into Register() " << std::endl; |
// std::cout <<" Into Register() " << std::endl; |
37 |
TMapIter *n= (TMapIter *)fsdmap.MakeIterator(); |
TMapIter *n= (TMapIter *)fsdmap.MakeIterator(); |
38 |
TObject *o; while( o=(TObject *) n->Next()) { |
TObject *o; while(( o=(TObject *) n->Next())) { |
39 |
//cout<<"!!KEY=<<"<< endl; |
//cout<<"!!KEY=<<"<< endl; |
40 |
((PamVMCDetectorSD *)fsdmap.GetValue(o))->Register(); |
((PamVMCDetectorSD *)fsdmap.GetValue(o))->Register(); |
41 |
} |
} |
43 |
|
|
44 |
void Clear(const Option_t* =""){ |
void Clear(const Option_t* =""){ |
45 |
TMapIter *n= (TMapIter *)fsdmap.MakeIterator(); |
TMapIter *n= (TMapIter *)fsdmap.MakeIterator(); |
46 |
TObject *o; while( o=(TObject *) n->Next()) { |
TObject *o; while( (o=(TObject *) n->Next())) { |
47 |
((PamVMCDetectorSD *)fsdmap.GetValue(o))->ClearHitColl(); |
((PamVMCDetectorSD *)fsdmap.GetValue(o))->ClearHitColl(); |
48 |
} |
} |
49 |
} |
} |
50 |
|
|
51 |
void Compress(const Option_t* =""){ |
void Compress(const Option_t* =""){ |
52 |
TMapIter *n= (TMapIter *)fsdmap.MakeIterator(); |
TMapIter *n= (TMapIter *)fsdmap.MakeIterator(); |
53 |
TObject *o; while( o=(TObject *) n->Next()) { |
TObject *o; while( (o=(TObject *) n->Next())) { |
54 |
((PamVMCDetectorSD *)fsdmap.GetValue(o))->Compress(); |
((PamVMCDetectorSD *)fsdmap.GetValue(o))->Compress(); |
55 |
} |
} |
56 |
} |
} |
58 |
|
|
59 |
void PreEvent(const Option_t* =""){ |
void PreEvent(const Option_t* =""){ |
60 |
TMapIter *n= (TMapIter *)fsdmap.MakeIterator(); |
TMapIter *n= (TMapIter *)fsdmap.MakeIterator(); |
61 |
TObject *o; while( o=(TObject *) n->Next()) { |
TObject *o; while( (o=(TObject *) n->Next())) { |
62 |
((PamVMCDetectorSD *)fsdmap.GetValue(o))->PreEvent(); |
((PamVMCDetectorSD *)fsdmap.GetValue(o))->PreEvent(); |
63 |
} |
} |
64 |
} |
} |
65 |
|
|
66 |
void Digitize(const Option_t* =""){ |
void Digitize(const Option_t* =""){ |
67 |
TMapIter *n= (TMapIter *)fsdmap.MakeIterator(); |
TMapIter *n= (TMapIter *)fsdmap.MakeIterator(); |
68 |
TObject *o; while( o=(TObject *) n->Next()) { |
TObject *o; while( (o=(TObject *) n->Next())) { |
69 |
((PamVMCDetectorSD *)fsdmap.GetValue(o))->Digitize(); |
((PamVMCDetectorSD *)fsdmap.GetValue(o))->Digitize(); |
70 |
} |
} |
71 |
} |
} |