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

Comparing UserCode/MitPhysics/Utils/src/MVATools.cc (file contents):
Revision 1.18 by fabstoec, Thu Aug 2 13:57:32 2012 UTC vs.
Revision 1.19 by mingyang, Sat Oct 13 20:42:20 2012 UTC

# Line 467 | Line 467 | Double_t MVATools::GetMVAbdtValue(const
467    // check if it's a Barrel or EE photon
468    bool isBarrel = ( p->SCluster()->AbsEta() < 1.5 );
469  
470 <  std::map<std::string,unsigned int>* theVars = ( isBarrel ? &mvaVarMapEB : &mvaVarMapEB );  
470 >  std::map<std::string,unsigned int>* theVars = ( isBarrel ? &mvaVarMapEB : &mvaVarMapEE );  
471    
472    // loop over all the variables in the map... and keep count (to make sure we have filled all variables)
473    unsigned int varCounter = 0;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines