Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 10:11:03

0001 // @(#)root/tmva $Id$
0002 // Author: Tancredi Carli, Dominik Dannheim, Alexander Voigt
0003 
0004 /**********************************************************************************
0005  * Project: TMVA - a Root-integrated toolkit for multivariate data analysis       *
0006  * Package: TMVA                                                                  *
0007  * Classes: PDEFoamEvent                                                          *
0008  *                                             *
0009  *                                                                                *
0010  * Description:                                                                   *
0011  *      Concrete PDEFoam sub-class.  This foam stores the number of               *
0012  *      events with every cell, as well as the statistical error on               *
0013  *      the event number.                                                         *
0014  *                                                                                *
0015  * Authors (alphabetical):                                                        *
0016  *      S. Jadach        - Institute of Nuclear Physics, Cracow, Poland           *
0017  *      Tancredi Carli   - CERN, Switzerland                                      *
0018  *      Dominik Dannheim - CERN, Switzerland                                      *
0019  *      Alexander Voigt  - TU Dresden, Germany                                    *
0020  *                                                                                *
0021  * Copyright (c) 2008, 2010:                                                      *
0022  *      CERN, Switzerland                                                         *
0023  *      MPI-K Heidelberg, Germany                                                 *
0024  *                                                                                *
0025  * Redistribution and use in source and binary forms, with or without             *
0026  * modification, are permitted according to the terms listed in LICENSE           *
0027  * (see tmva/doc/LICENSE)                                          *
0028  **********************************************************************************/
0029 
0030 #ifndef ROOT_TMVA_PDEFoamEvent
0031 #define ROOT_TMVA_PDEFoamEvent
0032 
0033 #include "TMVA/PDEFoam.h"
0034 
0035 namespace TMVA
0036 {
0037 
0038    class PDEFoamEvent : public PDEFoam
0039    {
0040 
0041    protected:
0042 
0043       PDEFoamEvent(const PDEFoamEvent&); // Copy Constructor  NOT USED
0044 
0045       // ---------- Public functions ----------------------------------
0046    public:
0047       PDEFoamEvent();                  // Default constructor (used only by ROOT streamer)
0048       PDEFoamEvent(const TString&);    // Principal user-defined constructor
0049       virtual ~PDEFoamEvent() {}       // Default destructor
0050 
0051       // function to fill created cell with given value
0052       virtual void FillFoamCells(const Event* ev, Float_t wt);
0053 
0054       // ---------- ROOT class definition
0055       ClassDef(PDEFoamEvent, 1) // Tree of PDEFoamCells
0056          }; // end of PDEFoamEvent
0057 
0058 }  // namespace TMVA
0059 
0060 // ---------- Inline functions
0061 
0062 #endif