Revision e60bc961b69056a4925f129d0a2042471f999042 authored by Rene Brun on 19 September 2006, 14:37:13 UTC, committed by Rene Brun on 19 September 2006, 14:37:13 UTC
some changes in the class TGeoPNEntry (needed for alignment purposes): 1. Constructor of TGeoPNEntry performs a check upon definition of a symbolic link to a physical node. The check is done redundantly also upon creation of a physical node starting from a symbolic link to prevent mis-usage of these objects in-between geometries. 2. Allows storage of an additional user-defined TGeoHMatrix. The matrix should be created by the user but once TGeoPNEntry::SetMatrix() is called becomes owned by TGeoManager. git-svn-id: http://root.cern.ch/svn/root/trunk@16298 27541ba8-7e3a-0410-8455-c3a389f83636
1 parent cc15e88
MethodVariable.h
// @(#)root/tmva $Id: MethodVariable.h,v 1.2 2006/05/23 13:03:15 brun Exp $
// Author: Andreas Hoecker, Joerg Stelzer, Helge Voss, Kai Voss
/**********************************************************************************
* Project: TMVA - a Root-integrated toolkit for multivariate data analysis *
* Package: TMVA *
* Class : MethodVariable *
* *
* Description: *
* Wrapper class for a single variable "MVA"; this is required for *
* the evaluation of the single variable discrimination performance *
* *
* Authors (alphabetical): *
* Andreas Hoecker <Andreas.Hocker@cern.ch> - CERN, Switzerland *
* Xavier Prudent <prudent@lapp.in2p3.fr> - LAPP, France *
* Helge Voss <Helge.Voss@cern.ch> - MPI-KP Heidelberg, Germany *
* Kai Voss <Kai.Voss@cern.ch> - U. of Victoria, Canada *
* *
* Copyright (c) 2005: *
* CERN, Switzerland, *
* U. of Victoria, Canada, *
* MPI-KP Heidelberg, Germany, *
* LAPP, Annecy, France *
* *
* Redistribution and use in source and binary forms, with or without *
* modification, are permitted according to the terms listed in LICENSE *
* (http://mva.sourceforge.net/license.txt) *
* *
* File and Version Information: *
* $Id: MethodVariable.h,v 1.2 2006/05/23 13:03:15 brun Exp $
**********************************************************************************/
#ifndef ROOT_TMVA_MethodVariable
#define ROOT_TMVA_MethodVariable
//////////////////////////////////////////////////////////////////////////
// //
// MethodVariable //
// //
// Wrapper class for a single variable "MVA"; this is required for //
// the evaluation of the single variable discrimination performance //
// //
//////////////////////////////////////////////////////////////////////////
#ifndef ROOT_TMVA_MethodBase
#include "TMVA/MethodBase.h"
#endif
namespace TMVA {
class MethodVariable : public MethodBase {
public:
MethodVariable( TString jobName,
std::vector<TString>* theVariables,
TTree* theTree = 0,
TString theOption = "Variable",
TDirectory* theTargetDir = 0 );
virtual ~MethodVariable( void );
// training method
virtual void Train( void );
// write weights to file
virtual void WriteWeightsToFile( void );
// read weights from file
virtual void ReadWeightsFromFile( void );
// calculate the MVA value
virtual Double_t GetMvaValue(Event *e);
// write method specific histos to target file
virtual void WriteHistosToFile( void ) ;
protected:
private:
ClassDef(MethodVariable,0) // Wrapper class for a single variable "MVA"
};
} // namespace TMVA
#endif
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...