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.5 by mingyang, Mon Dec 5 01:39:48 2011 UTC vs.
Revision 1.6 by mingyang, Wed Dec 7 00:45:17 2011 UTC

# Line 137 | Line 137 | void MVATools::InitializeMVA(int Variabl
137          readers[i]->AddVariable( "RelPreshowerEnergy", &RelPreshowerEnergy );
138        }
139      }
140 +
141 +    if(VariableType==6){
142 +      readers[i]->AddVariable( "HoE", &HoE );
143 +      readers[i]->AddVariable( "covIEtaIEta", &covIEtaIEta );
144 +      readers[i]->AddVariable( "tIso1abs", &tIso1abs );
145 +      readers[i]->AddVariable( "tIso3abs", &tIso3abs );
146 +      readers[i]->AddVariable( "tIso2abs", &tIso2abs );
147 +      readers[i]->AddVariable( "R9", &R9 );
148 +      readers[i]->AddVariable( "absIsoEcal", &absIsoEcal );
149 +      readers[i]->AddVariable( "absIsoHcal", &absIsoHcal );
150 +      readers[i]->AddVariable( "RelE5x5", &RelE5x5 );
151 +      readers[i]->AddVariable( "EtaWidth", &EtaWidth );
152 +      readers[i]->AddVariable( "PhiWidth", &PhiWidth );
153 +      readers[i]->AddVariable( "CoviEtaiPhi", &CoviEtaiPhi );
154 +      readers[i]->AddVariable( "CoviPhiiPhi", &CoviPhiiPhi );
155 +      readers[i]->AddVariable( "NVertexes", &NVertexes );
156 +      if(i==0){
157 +      readers[i]->AddVariable( "RelPreshowerEnergy", &RelPreshowerEnergy );
158 +      }
159 +    }
160 +
161    }
162    
163    fReaderEndcap->BookMVA("BDT method",EndcapWeights);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines