[b443089] | 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 | *
|
---|
[b443089] | 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 | *
|
---|
[b443089] | 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 | *
|
---|
[b443089] | 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 |
|
---|
[d7d2da3] | 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 "classes/DelphesModule.h"
|
---|
[50d7259] | 33 | #include "ExRootAnalysis/ExRootResult.h"
|
---|
| 34 | #include "ExRootAnalysis/ExRootFilter.h"
|
---|
| 35 | #include "ExRootAnalysis/ExRootClassifier.h"
|
---|
[d7d2da3] | 36 |
|
---|
| 37 | #include <map>
|
---|
| 38 |
|
---|
| 39 | class TObjArray;
|
---|
| 40 | class DelphesFormula;
|
---|
| 41 |
|
---|
| 42 | class ExRootFilter;
|
---|
| 43 | class TauTaggingPartonClassifier;
|
---|
| 44 |
|
---|
| 45 | class TauTagging: public DelphesModule
|
---|
| 46 | {
|
---|
| 47 | public:
|
---|
| 48 |
|
---|
| 49 | TauTagging();
|
---|
| 50 | ~TauTagging();
|
---|
| 51 |
|
---|
| 52 | void Init();
|
---|
| 53 | void Process();
|
---|
| 54 | void Finish();
|
---|
| 55 |
|
---|
| 56 | private:
|
---|
[7e227ae] | 57 |
|
---|
| 58 | Int_t fBitNumber;
|
---|
| 59 |
|
---|
[d7d2da3] | 60 | Double_t fDeltaR;
|
---|
| 61 |
|
---|
[c5e72d8] | 62 | #if !defined(__CINT__) && !defined(__CLING__)
|
---|
[d7d2da3] | 63 | std::map< Int_t, DelphesFormula * > fEfficiencyMap; //!
|
---|
[c5e72d8] | 64 | #endif
|
---|
[d7d2da3] | 65 |
|
---|
| 66 | TauTaggingPartonClassifier *fClassifier; //!
|
---|
| 67 |
|
---|
| 68 | ExRootFilter *fFilter;
|
---|
| 69 |
|
---|
| 70 | TIterator *fItPartonInputArray; //!
|
---|
| 71 |
|
---|
| 72 | TIterator *fItJetInputArray; //!
|
---|
| 73 |
|
---|
| 74 | const TObjArray *fParticleInputArray; //!
|
---|
| 75 |
|
---|
| 76 | const TObjArray *fPartonInputArray; //!
|
---|
| 77 |
|
---|
| 78 | const TObjArray *fJetInputArray; //!
|
---|
| 79 |
|
---|
| 80 | ClassDef(TauTagging, 1)
|
---|
| 81 | };
|
---|
| 82 |
|
---|
[50d7259] | 83 |
|
---|
| 84 | //------------------------------------------------------------------------------
|
---|
| 85 |
|
---|
| 86 | class TauTaggingPartonClassifier : public ExRootClassifier
|
---|
| 87 | {
|
---|
| 88 | public:
|
---|
| 89 |
|
---|
| 90 | TauTaggingPartonClassifier(const TObjArray *array);
|
---|
| 91 |
|
---|
| 92 | Int_t GetCategory(TObject *object);
|
---|
| 93 |
|
---|
| 94 | Double_t fEtaMax, fPTMin;
|
---|
| 95 |
|
---|
| 96 | const TObjArray *fParticleInputArray;
|
---|
| 97 | };
|
---|
| 98 |
|
---|
| 99 |
|
---|
[d7d2da3] | 100 | #endif
|
---|