Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
PDEFoamEvent.h
Go to the documentation of this file.
1// @(#)root/tmva $Id$
2// Author: Tancredi Carli, Dominik Dannheim, Alexander Voigt
3
4/**********************************************************************************
5 * Project: TMVA - a Root-integrated toolkit for multivariate data analysis *
6 * Package: TMVA *
7 * Classes: PDEFoamEvent *
8 * Web : http://tmva.sourceforge.net *
9 * *
10 * Description: *
11 * Concrete PDEFoam sub-class. This foam stores the number of *
12 * events with every cell, as well as the statistical error on *
13 * the event number. *
14 * *
15 * Authors (alphabetical): *
16 * S. Jadach - Institute of Nuclear Physics, Cracow, Poland *
17 * Tancredi Carli - CERN, Switzerland *
18 * Dominik Dannheim - CERN, Switzerland *
19 * Alexander Voigt - TU Dresden, Germany *
20 * *
21 * Copyright (c) 2008, 2010: *
22 * CERN, Switzerland *
23 * MPI-K Heidelberg, Germany *
24 * *
25 * Redistribution and use in source and binary forms, with or without *
26 * modification, are permitted according to the terms listed in LICENSE *
27 * (http://tmva.sourceforge.net/LICENSE) *
28 **********************************************************************************/
29
30#ifndef ROOT_TMVA_PDEFoamEvent
31#define ROOT_TMVA_PDEFoamEvent
32
33#include "TMVA/PDEFoam.h"
34
35namespace TMVA
36{
37
38 class PDEFoamEvent : public PDEFoam
39 {
40
41 protected:
42
43 PDEFoamEvent(const PDEFoamEvent&); // Copy Constructor NOT USED
44
45 // ---------- Public functions ----------------------------------
46 public:
47 PDEFoamEvent(); // Default constructor (used only by ROOT streamer)
48 PDEFoamEvent(const TString&); // Principal user-defined constructor
49 virtual ~PDEFoamEvent() {} // Default destructor
50
51 // function to fill created cell with given value
52 virtual void FillFoamCells(const Event* ev, Float_t wt);
53
54 // ---------- ROOT class definition
55 ClassDef(PDEFoamEvent, 1) // Tree of PDEFoamCells
56 }; // end of PDEFoamEvent
57
58} // namespace TMVA
59
60// ---------- Inline functions
61
62#endif
float Float_t
Definition RtypesCore.h:57
#define ClassDef(name, id)
Definition Rtypes.h:325
This PDEFoam variant stores in every cell the sum of event weights and the sum of the squared event w...
virtual ~PDEFoamEvent()
PDEFoamEvent()
Default constructor for streamer, user should not use it.
virtual void FillFoamCells(const Event *ev, Float_t wt)
This function fills an event weight 'wt' into the PDEFoam.
Implementation of PDEFoam.
Definition PDEFoam.h:79
Basic string class.
Definition TString.h:136
create variable transformations