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

Diff of /PamVMC/include/PamVMCCutContMgr.h

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

revision 1.1 by nikolas, Thu Feb 19 16:50:35 2009 UTC revision 1.5 by pam-rm2, Fri Jun 12 18:39:16 2009 UTC
# Line 33  class PamVMCCutContMgr: public TObject { Line 33  class PamVMCCutContMgr: public TObject {
33    
34  void SetCuts(){  void SetCuts(){
35     TMapIter *n= (TMapIter *)fcutcontmap.MakeIterator();     TMapIter *n= (TMapIter *)fcutcontmap.MakeIterator();
36     TObject *o; while( o=(TObject *) n->Next()) {     TObject *o; while( (o=(TObject *) n->Next())) {
37            
38        ((pCutControl*)fcutcontmap.GetValue(o))->SetCuts();        ((pCutControl*)fcutcontmap.GetValue(o))->SetCuts();
39                
# Line 44  void Print(const Option_t* ="") const{ Line 44  void Print(const Option_t* ="") const{
44    
45      std::cout<<"LIST OF CUTS AND CONTROLS FOR REGISTERED MEDIA"<<std::endl;      std::cout<<"LIST OF CUTS AND CONTROLS FOR REGISTERED MEDIA"<<std::endl;
46      TMapIter *n= (TMapIter *)fcutcontmap.MakeIterator();      TMapIter *n= (TMapIter *)fcutcontmap.MakeIterator();
47      TObject *o; while( o=(TObject *) n->Next()) {      TObject *o; while( (o=(TObject *) n->Next())) {
48        TString medname =(*(TObjString*)o).GetString();        TString medname =(*(TObjString*)o).GetString();
49        std::cout<<"MEDIA: "<<medname<<std::endl;        std::cout<<"MEDIA: "<<medname<<std::endl;
50        ((pCutControl*)fcutcontmap.GetValue(o))->Print();          ((pCutControl*)fcutcontmap.GetValue(o))->Print();  

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

  ViewVC Help
Powered by ViewVC 1.1.23