1 """@package CrombieTools.SkimmingTools.TMVACorrector 3 Submodule of CrombieTools.SkimmingTools 4 Contains the constructor and default object for TMVACorrector. 6 @author Daniel Abercrombie <dabercro@mit.edu> 12 newTMVACorrector =
Load(
'TMVACorrector')
13 """TMVACorrector constructor""" 16 """Make a TMVACorrector object 18 @param Name is the name of the branch for this Corrector if the CorrectorApplicator 19 is saving all branches. 20 @param Weights is the name of the weights file to read 21 @param Config is the name of the file that contains the 22 variable names and branches for the reader to use 23 @param inCut is the cut that a tree must pass in order for the Correction to be applied. 24 @param matchName is the regex expression that must be matched 25 for the correction to be applied to the file 26 @returns a TMVACorrector object. 30 corrector.Merge =
False 31 corrector.ReadVarConfig(Config)
32 corrector.SetInCut(inCut)
33 corrector.SetMatchFileName(matchName)