[51f7063] | 1 | /*
|
---|
| 2 | * Delphes: a framework for fast simulation of a generic collider experiment
|
---|
| 3 | * Copyright (C) 2012-2014 Universite catholique de Louvain (UCL), Belgium
|
---|
[1fa50c2] | 4 | *
|
---|
[51f7063] | 5 | * This program is free software: you can redistribute it and/or modify
|
---|
| 6 | * it under the terms of the GNU General Public License as published by
|
---|
| 7 | * the Free Software Foundation, either version 3 of the License, or
|
---|
| 8 | * (at your option) any later version.
|
---|
[1fa50c2] | 9 | *
|
---|
[51f7063] | 10 | * This program is distributed in the hope that it will be useful,
|
---|
| 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
|
---|
| 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
---|
| 13 | * GNU General Public License for more details.
|
---|
[1fa50c2] | 14 | *
|
---|
[51f7063] | 15 | * You should have received a copy of the GNU General Public License
|
---|
| 16 | * along with this program. If not, see <http://www.gnu.org/licenses/>.
|
---|
| 17 | */
|
---|
| 18 |
|
---|
[6fb1a5d] | 19 | #ifndef FastJetGridMedianEstimator_h
|
---|
| 20 | #define FastJetGridMedianEstimator_h
|
---|
| 21 |
|
---|
| 22 | /** \class FastJetGridMedianEstimator
|
---|
| 23 | *
|
---|
| 24 | * Computes median energy density per event using a fixed grid.
|
---|
| 25 | *
|
---|
| 26 | * \author M. Selvaggi - UCL, Louvain-la-Neuve
|
---|
| 27 | *
|
---|
| 28 | */
|
---|
| 29 |
|
---|
| 30 | #include "classes/DelphesModule.h"
|
---|
[406b698] | 31 | #include <vector>
|
---|
[6fb1a5d] | 32 |
|
---|
| 33 | class TObjArray;
|
---|
| 34 | class TIterator;
|
---|
| 35 |
|
---|
[341014c] | 36 | namespace fastjet
|
---|
| 37 | {
|
---|
| 38 | class GridMedianBackgroundEstimator;
|
---|
[6fb1a5d] | 39 | }
|
---|
| 40 |
|
---|
| 41 | class FastJetGridMedianEstimator: public DelphesModule
|
---|
| 42 | {
|
---|
| 43 | public:
|
---|
| 44 | FastJetGridMedianEstimator();
|
---|
| 45 | ~FastJetGridMedianEstimator();
|
---|
| 46 |
|
---|
| 47 | void Init();
|
---|
| 48 | void Process();
|
---|
| 49 | void Finish();
|
---|
| 50 |
|
---|
| 51 | private:
|
---|
[341014c] | 52 | std::vector<fastjet::GridMedianBackgroundEstimator *> fEstimators; //!
|
---|
[406b698] | 53 |
|
---|
[6fb1a5d] | 54 | TIterator *fItInputArray; //!
|
---|
| 55 |
|
---|
| 56 | const TObjArray *fInputArray; //!
|
---|
| 57 |
|
---|
| 58 | TObjArray *fRhoOutputArray; //!
|
---|
| 59 |
|
---|
| 60 | ClassDef(FastJetGridMedianEstimator, 1)
|
---|
| 61 | };
|
---|
| 62 |
|
---|
| 63 | #endif
|
---|