/[PAMELA software]/PamVMC/include/PamVMCSDMgr.h
ViewVC logotype

Diff of /PamVMC/include/PamVMCSDMgr.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1 by nikolas, Thu Feb 19 16:50:36 2009 UTC revision 1.5 by pam-rm2, Fri Jun 12 18:39:19 2009 UTC
# Line 35  class PamVMCSDMgr: public TObject { Line 35  class PamVMCSDMgr: public TObject {
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        }        }
# Line 43  class PamVMCSDMgr: public TObject { Line 43  class PamVMCSDMgr: public TObject {
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    }    }
# Line 58  class PamVMCSDMgr: public TObject { Line 58  class PamVMCSDMgr: public TObject {
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    }    }

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.5

  ViewVC Help
Powered by ViewVC 1.1.23