ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MitProd/TreeService/src/TreeService.cc
(Generate patch)

Comparing UserCode/MitProd/TreeService/src/TreeService.cc (file contents):
Revision 1.3 by loizides, Wed Jun 11 13:10:27 2008 UTC vs.
Revision 1.5 by paus, Wed Jun 18 13:23:23 2008 UTC

# Line 14 | Line 14 | using namespace mithep;
14  
15   //--------------------------------------------------------------------------------------------------
16   TreeService::TreeService(const ParameterSet &cfg, ActivityRegistry &r) :
17 <  tws_(0),
17 >  tws_        (0),
18    treeNames_  (cfg.getUntrackedParameter<vector<string>   >("treeNames")),
19    fileNames_  (cfg.getUntrackedParameter<vector<string>   >("fileNames")),
20    pathNames_  (cfg.getUntrackedParameter<vector<string>   >("pathNames")),
# Line 47 | Line 47 | TreeService::TreeService(const Parameter
47        t->SetBaseURL(pathNames_.at(0).c_str());
48  
49      if      (i<maxSizes_.size())
50 <      t->SetMaxSize(maxSizes_.at(i)*1024*1024);
50 >      t->SetMaxSize((Long64_t)maxSizes_.at(i)*1024*1024);
51      else if (maxSizes_.size()>0)
52 <      t->SetMaxSize(maxSizes_.at(0)*1024*1024);
52 >      t->SetMaxSize((Long64_t)maxSizes_.at(0)*1024*1024);
53  
54      if      (i<compLevels_.size())
55        t->SetCompressLevel(compLevels_.at(i));

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines