[196994a] | 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 DenseTrackFilter_h
|
---|
| 20 | #define DenseTrackFilter_h
|
---|
| 21 |
|
---|
| 22 | /** \class DenseTrackFilter
|
---|
| 23 | *
|
---|
| 24 | * Applies reconstruction inefficiency on tracks in dense environment
|
---|
| 25 | *
|
---|
| 26 | * \author M. Selvaggi - CERN
|
---|
| 27 | *
|
---|
| 28 | */
|
---|
| 29 |
|
---|
| 30 | #include "classes/DelphesModule.h"
|
---|
| 31 |
|
---|
| 32 | #include <map>
|
---|
| 33 | #include <set>
|
---|
| 34 | #include <vector>
|
---|
| 35 |
|
---|
| 36 | class TObjArray;
|
---|
| 37 | class DelphesFormula;
|
---|
| 38 | class Candidate;
|
---|
| 39 |
|
---|
| 40 | class DenseTrackFilter: public DelphesModule
|
---|
| 41 | {
|
---|
| 42 | public:
|
---|
| 43 |
|
---|
| 44 | DenseTrackFilter();
|
---|
| 45 | ~DenseTrackFilter();
|
---|
| 46 |
|
---|
| 47 | void Init();
|
---|
| 48 | void Process();
|
---|
| 49 | void Finish();
|
---|
| 50 |
|
---|
| 51 | private:
|
---|
| 52 |
|
---|
| 53 | typedef std::map< Double_t, std::set< Double_t > > TBinMap; //!
|
---|
| 54 |
|
---|
[4170544] | 55 | Candidate *fBestTrack;
|
---|
| 56 |
|
---|
| 57 | Int_t fTowerTrackHits;
|
---|
[196994a] | 58 |
|
---|
| 59 | Double_t fEtaPhiRes;
|
---|
| 60 |
|
---|
| 61 | TBinMap fBinMap; //!
|
---|
| 62 |
|
---|
| 63 | std::vector < Double_t > fEtaBins;
|
---|
| 64 | std::vector < std::vector < Double_t >* > fPhiBins;
|
---|
| 65 |
|
---|
| 66 | std::vector < Long64_t > fTowerHits;
|
---|
| 67 |
|
---|
| 68 | TIterator *fItTrackInputArray; //!
|
---|
| 69 |
|
---|
| 70 | const TObjArray *fTrackInputArray; //!
|
---|
| 71 |
|
---|
| 72 | TObjArray *fTrackOutputArray; //!
|
---|
| 73 |
|
---|
[e999d62] | 74 |
|
---|
| 75 | const TObjArray *fDenseChargedInputArray;
|
---|
| 76 | TIterator *fItDenseChargedInputArray;
|
---|
[4170544] | 77 |
|
---|
| 78 | void FillTrack();
|
---|
[196994a] | 79 | ClassDef(DenseTrackFilter, 1)
|
---|
| 80 | };
|
---|
| 81 |
|
---|
| 82 | #endif
|
---|