50 |
Finalize(); |
Finalize(); |
51 |
|
|
52 |
} |
} |
53 |
void PamCut::Setup(PamLevel2 *events){ |
void PamCut::Setup(PamLevel2 *events) { |
54 |
_nEv = _nGood = 0; |
_nEv = _nGood = 0; |
55 |
} |
} |
56 |
|
|
62 |
_cutName = newName; |
_cutName = newName; |
63 |
} |
} |
64 |
|
|
65 |
PamCut& PamCut::operator=(const PamCut &rightValue){ |
PamCut& PamCut::operator=(const PamCut &rightValue) { |
66 |
_cutName = rightValue._cutName; |
_cutName = rightValue._cutName; |
67 |
return *this; |
return *this; |
68 |
} |
} |
69 |
|
|
70 |
/* ************************ * |
/* ************************ * |
71 |
* PAMCUTCOLLECTION |
* PAMCUTCOLLECTION |
134 |
return *this; |
return *this; |
135 |
} |
} |
136 |
|
|
137 |
|
void PamCutCollection::Setup(PamLevel2 *events) { |
|
void PamCutCollection::Setup(PamLevel2 *events){ |
|
138 |
|
|
139 |
PamCut::Setup(events); |
PamCut::Setup(events); |
140 |
|
|
141 |
for (unsigned int i = 0; i < GetSize(); i++){ |
for (unsigned int i = 0; i < GetSize(); i++) { |
142 |
_cuts[i]->Setup(events); |
_cuts[i]->Setup(events); |
143 |
} |
} |
144 |
} |
} |
145 |
|
|
146 |
void PamCutCollection::Finalize(){ |
void PamCutCollection::Finalize() { |
147 |
|
|
148 |
// PamCut::Finalize() is currently void, but in future it could contain something, so it's good to place a call here. |
// PamCut::Finalize() is currently void, but in future it could contain something, so it's good to place a call here. |
149 |
PamCut::Finalize(); |
PamCut::Finalize(); |
150 |
|
|
151 |
for (unsigned int i = 0; i < GetSize(); i++){ |
for (unsigned int i = 0; i < GetSize(); i++) { |
152 |
_cuts[i]->Finalize(); |
_cuts[i]->Finalize(); |
153 |
} |
} |
154 |
} |
} |