Fork me on GitHub

source: git/modules/FastJetGridMedianEstimator.h@ ad3b7ce

ImprovedOutputFile Timing dual_readout llp
Last change on this file since ad3b7ce was 51f7063, checked in by Michele <michele.selvaggi@…>, 10 years ago

prepend GPLv3 header

  • Property mode set to 100644
File size: 1.8 KB
Line 
1/*
2 * Delphes: a framework for fast simulation of a generic collider experiment
3 * Copyright (C) 2012-2014 Universite catholique de Louvain (UCL), Belgium
4 *
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.
9 *
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.
14 *
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
19#ifndef FastJetGridMedianEstimator_h
20#define FastJetGridMedianEstimator_h
21
22
23/** \class FastJetGridMedianEstimator
24 *
25 * Computes median energy density per event using a fixed grid.
26 *
27 * \author M. Selvaggi - UCL, Louvain-la-Neuve
28 *
29 */
30
31#include "classes/DelphesModule.h"
32#include <map>
33#include <utility>
34
35
36class TObjArray;
37class TIterator;
38
39namespace fastjet {
40 class JetDefinition;
41 class AreaDefinition;
42 class Selector;
43 namespace contrib {
44 class NjettinessPlugin;
45 }
46}
47
48class FastJetGridMedianEstimator: public DelphesModule
49{
50public:
51
52 FastJetGridMedianEstimator();
53 ~FastJetGridMedianEstimator();
54
55 void Init();
56 void Process();
57 void Finish();
58
59private:
60
61 typedef std::map< std::pair< Double_t , Double_t > , std::pair< Double_t , Double_t > > TGrid; //!
62
63 TGrid fGrid; //!
64
65 TIterator *fItInputArray; //!
66
67 const TObjArray *fInputArray; //!
68
69 TObjArray *fRhoOutputArray; //!
70
71 ClassDef(FastJetGridMedianEstimator, 1)
72};
73
74#endif
Note: See TracBrowser for help on using the repository browser.