/[PAMELA software]/trieste/pamVMC/include/PamVMCDigMgr.h
ViewVC logotype

Diff of /trieste/pamVMC/include/PamVMCDigMgr.h

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

revision 1.2 by pamelats, Wed Mar 4 13:51:31 2009 UTC revision 1.3 by pizzolot, Tue Mar 24 14:04:00 2009 UTC
# Line 31  class PamVMCDigMgr: public TObject { Line 31  class PamVMCDigMgr: public TObject {
31        
32    
33   protected:   protected:
34    PamVMCDigMgr(){    PamVMCDigMgr(UInt_t seed){
35      //detectors should be ordered.. First calibrations      //detectors should be ordered.. First calibrations
36      SetDIG("Tof", new PamVMCTofDig());      SetDIG("Tof", new PamVMCTofDig(seed));
37      SetDIG("AC", new PamVMCAcDig());      SetDIG("AC", new PamVMCAcDig(seed));
38      SetDIG("CAST",new PamVMCCaloDig());      SetDIG("CAST",new PamVMCCaloDig(seed));
39      SetDIG("TSPA", new PamVMCTrkDig());      SetDIG("TSPA", new PamVMCTrkDig(seed));
40      SetDIG("S4",new PamVMCS4Dig());      SetDIG("S4",new PamVMCS4Dig(seed));
41      SetDIG("NDTI",new PamVMCNDDig());      SetDIG("NDTI",new PamVMCNDDig(seed));
42  //    SetDIG("RunHeader", new PamVMCDigRunHeader());  //    SetDIG("RunHeader", new PamVMCDigRunHeader());
43  //    SetDIG("RunTrailer", new PamVMCDigRunTrailer());  //    SetDIG("RunTrailer", new PamVMCDigRunTrailer());
44    }    }
# Line 47  class PamVMCDigMgr: public TObject { Line 47  class PamVMCDigMgr: public TObject {
47    
48    ~PamVMCDigMgr(){ fdigmap.DeleteAll(); }    ~PamVMCDigMgr(){ fdigmap.DeleteAll(); }
49        
50    static PamVMCDigMgr * Instance();    static PamVMCDigMgr * Instance(UInt_t seed = 567);
51    
52    PamVMCDigitizer * GetDIG(const char *name){    PamVMCDigitizer * GetDIG(const char *name){
53      return (PamVMCDigitizer*)fdigmap(name);      return (PamVMCDigitizer*)fdigmap(name);

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

  ViewVC Help
Powered by ViewVC 1.1.23