Fork me on GitHub

source: git/modules/TauTagging.h@ f0f1443

Last change on this file since f0f1443 was 341014c, checked in by Pavel Demin <pavel-demin@…>, 6 years ago

apply .clang-format to all .h, .cc and .cpp files

  • Property mode set to 100644
File size: 2.2 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 TauTagging_h
20#define TauTagging_h
21
22/** \class TauTagging
23 *
24 * Determines origin of jet,
25 * applies b-tagging efficiency (miss identification rate) formulas
26 * and sets b-tagging flags
27 *
28 * \author P. Demin - UCL, Louvain-la-Neuve
29 *
30 */
31
32#include "ExRootAnalysis/ExRootClassifier.h"
33#include "ExRootAnalysis/ExRootFilter.h"
34#include "ExRootAnalysis/ExRootResult.h"
35#include "classes/DelphesModule.h"
36
37#include <map>
38
39class TObjArray;
40class DelphesFormula;
41
42class ExRootFilter;
43class TauTaggingPartonClassifier;
44
45class TauTagging: public DelphesModule
46{
47public:
48 TauTagging();
49 ~TauTagging();
50
51 void Init();
52 void Process();
53 void Finish();
54
55private:
56 Int_t fBitNumber;
57
58 Double_t fDeltaR;
59
60#if !defined(__CINT__) && !defined(__CLING__)
61 std::map<Int_t, DelphesFormula *> fEfficiencyMap; //!
62#endif
63
64 TauTaggingPartonClassifier *fClassifier; //!
65
66 ExRootFilter *fFilter;
67
68 TIterator *fItPartonInputArray; //!
69
70 TIterator *fItJetInputArray; //!
71
72 const TObjArray *fParticleInputArray; //!
73
74 const TObjArray *fPartonInputArray; //!
75
76 const TObjArray *fJetInputArray; //!
77
78 ClassDef(TauTagging, 1)
79};
80
81//------------------------------------------------------------------------------
82
83class TauTaggingPartonClassifier: public ExRootClassifier
84{
85public:
86 TauTaggingPartonClassifier(const TObjArray *array);
87
88 Int_t GetCategory(TObject *object);
89
90 Double_t fEtaMax, fPTMin;
91
92 const TObjArray *fParticleInputArray;
93};
94
95#endif
Note: See TracBrowser for help on using the repository browser.