49 |
|
fProof(0), |
50 |
|
fDoNEvents(TChain::kBigNumber), |
51 |
|
fSkipNEvents(0), |
52 |
+ |
fPrintScale(100), |
53 |
|
fCacheSize(-1) |
54 |
|
{ |
55 |
|
// Default constructor. |
192 |
|
ifstream in; |
193 |
|
in.open(pname); |
194 |
|
if (!in) { |
195 |
< |
Error("AddFiles", "Can not open file with name %s", pname); |
195 |
> |
Error("AddFiles", "Cannot open file with name %s", pname); |
196 |
|
return kFALSE; |
197 |
|
} |
198 |
|
|
387 |
|
while (TObjString *obj = dynamic_cast<TObjString*>(next())) { |
388 |
|
fChain->Add(obj->GetName()); |
389 |
|
fSet->Add(obj->GetName()); |
390 |
< |
if (fCacheSize<0 && obj->GetString().BeginsWith("/castor/cern.ch")) |
390 |
> |
if (fCacheSize<0 && obj->GetString().Contains("/castor/")) |
391 |
|
fCacheSize = 64*1024*1024; |
392 |
|
} |
393 |
|
} else { |
398 |
|
while (TObjString *obj = dynamic_cast<TObjString*>(next())) { |
399 |
|
chain->Add(obj->GetName()); |
400 |
|
set->Add(obj->GetName()); |
401 |
< |
if (fCacheSize<0 && obj->GetString().BeginsWith("/castor/cern.ch")) |
401 |
> |
if (fCacheSize<0 && obj->GetString().Contains("/castor/")) |
402 |
|
fCacheSize = 64*1024*1024; |
403 |
|
} |
404 |
|
|
424 |
|
// create our ana framework module |
425 |
|
AnaFwkMod *anamod = new AnaFwkMod; |
426 |
|
anamod->SetSkipNEvents(fSkipNEvents); |
427 |
+ |
anamod->SetPrintScale(fPrintScale); |
428 |
|
fDeleteList->Add(anamod); |
429 |
|
|
430 |
|
// create our HLT framework module |