[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 BTagging_h
|
---|
| 20 | #define BTagging_h
|
---|
| 21 |
|
---|
| 22 | /** \class BTagging
|
---|
| 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"
|
---|
| 33 |
|
---|
| 34 | #include <map>
|
---|
| 35 |
|
---|
| 36 | class TObjArray;
|
---|
| 37 | class DelphesFormula;
|
---|
| 38 |
|
---|
| 39 | class ExRootFilter;
|
---|
| 40 | class BTaggingPartonClassifier;
|
---|
| 41 |
|
---|
| 42 | class BTagging: public DelphesModule
|
---|
| 43 | {
|
---|
| 44 | public:
|
---|
| 45 |
|
---|
| 46 | BTagging();
|
---|
| 47 | ~BTagging();
|
---|
| 48 |
|
---|
| 49 | void Init();
|
---|
| 50 | void Process();
|
---|
| 51 | void Finish();
|
---|
| 52 |
|
---|
| 53 | private:
|
---|
| 54 |
|
---|
[264bf40] | 55 | Int_t fBitNumber;
|
---|
| 56 |
|
---|
[d7d2da3] | 57 | Double_t fDeltaR;
|
---|
| 58 |
|
---|
[c5e72d8] | 59 | #if !defined(__CINT__) && !defined(__CLING__)
|
---|
[d7d2da3] | 60 | std::map< Int_t, DelphesFormula * > fEfficiencyMap; //!
|
---|
[c5e72d8] | 61 | #endif
|
---|
| 62 |
|
---|
[d7d2da3] | 63 | BTaggingPartonClassifier *fClassifier; //!
|
---|
| 64 |
|
---|
| 65 | ExRootFilter *fFilter;
|
---|
| 66 |
|
---|
| 67 | TIterator *fItPartonInputArray; //!
|
---|
| 68 |
|
---|
| 69 | TIterator *fItJetInputArray; //!
|
---|
| 70 |
|
---|
| 71 | const TObjArray *fPartonInputArray; //!
|
---|
| 72 |
|
---|
| 73 | const TObjArray *fJetInputArray; //!
|
---|
| 74 |
|
---|
| 75 | ClassDef(BTagging, 1)
|
---|
| 76 | };
|
---|
| 77 |
|
---|
| 78 | #endif
|
---|