/[PAMELA software]/PamCut/CollectionActions/SaveEventsAction/SaveEventsAction.cpp
ViewVC logotype

Diff of /PamCut/CollectionActions/SaveEventsAction/SaveEventsAction.cpp

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

revision 1.3.2.1 by pam-fi, Thu Jun 3 14:30:48 2010 UTC revision 1.3.2.2 by pam-fi, Thu Jun 24 17:20:19 2010 UTC
# Line 41  void SaveEventsAction::Setup(PamLevel2 * Line 41  void SaveEventsAction::Setup(PamLevel2 *
41    
42    // Set the output file size    // Set the output file size
43    TTree * currTree = NULL;    TTree * currTree = NULL;
44    if (currTree = _events->GetCloneTree("Run"))    if ((currTree = _events->GetCloneTree("Run")))
45      currTree->SetMaxTreeSize(_maxFileSize);      currTree->SetMaxTreeSize(_maxFileSize);
46    currTree = NULL;    currTree = NULL;
47    if (currTree = _events->GetCloneTree("SelectionList"))    if ((currTree = _events->GetCloneTree("SelectionList")))
48      currTree->SetMaxTreeSize(_maxFileSize);      currTree->SetMaxTreeSize(_maxFileSize);
49    currTree = NULL;    currTree = NULL;
50    if (currTree = _events->GetCloneTree("Tracker"))    if ((currTree = _events->GetCloneTree("Tracker")))
51      currTree->SetMaxTreeSize(_maxFileSize);      currTree->SetMaxTreeSize(_maxFileSize);
52    currTree = NULL;    currTree = NULL;
53    if (currTree = _events->GetCloneTree("Calorimeter"))    if ((currTree = _events->GetCloneTree("Calorimeter")))
54      currTree->SetMaxTreeSize(_maxFileSize);      currTree->SetMaxTreeSize(_maxFileSize);
55    currTree = NULL;    currTree = NULL;
56    if (currTree = _events->GetCloneTree("ToF"))    if ((currTree = _events->GetCloneTree("ToF")))
57      currTree->SetMaxTreeSize(_maxFileSize);      currTree->SetMaxTreeSize(_maxFileSize);
58    currTree = NULL;    currTree = NULL;
59    if (currTree = _events->GetCloneTree("Trigger"))    if ((currTree = _events->GetCloneTree("Trigger")))
60      currTree->SetMaxTreeSize(_maxFileSize);      currTree->SetMaxTreeSize(_maxFileSize);
61    currTree = NULL;    currTree = NULL;
62    if (currTree = _events->GetCloneTree("S4"))    if ((currTree = _events->GetCloneTree("S4")))
63      currTree->SetMaxTreeSize(_maxFileSize);      currTree->SetMaxTreeSize(_maxFileSize);
64    currTree = NULL;    currTree = NULL;
65    if (currTree = _events->GetCloneTree("NeutronD"))    if ((currTree = _events->GetCloneTree("NeutronD")))
66      currTree->SetMaxTreeSize(_maxFileSize);      currTree->SetMaxTreeSize(_maxFileSize);
67    currTree = NULL;    currTree = NULL;
68    if (currTree = _events->GetCloneTree("Anticounter"))    if ((currTree = _events->GetCloneTree("Anticounter")))
69      currTree->SetMaxTreeSize(_maxFileSize);      currTree->SetMaxTreeSize(_maxFileSize);
70    currTree = NULL;    currTree = NULL;
71    if (currTree = _events->GetCloneTree("OrbitalInfo"))    if ((currTree = _events->GetCloneTree("OrbitalInfo")))
72      currTree->SetMaxTreeSize(_maxFileSize);      currTree->SetMaxTreeSize(_maxFileSize);
73    currTree = NULL;    currTree = NULL;
74    if (currTree = _events->GetCloneTree("h20"))    if ((currTree = _events->GetCloneTree("h20")))
75      currTree->SetMaxTreeSize(_maxFileSize);      currTree->SetMaxTreeSize(_maxFileSize);
76    
77  }  }

Legend:
Removed from v.1.3.2.1  
changed lines
  Added in v.1.3.2.2

  ViewVC Help
Powered by ViewVC 1.1.23