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 | DenseTrackFilter();
|
---|
44 | ~DenseTrackFilter();
|
---|
45 |
|
---|
46 | void Init();
|
---|
47 | void Process();
|
---|
48 | void Finish();
|
---|
49 |
|
---|
50 | private:
|
---|
51 | typedef std::map<Double_t, std::set<Double_t> > TBinMap; //!
|
---|
52 |
|
---|
53 | Candidate *fBestTrack;
|
---|
54 |
|
---|
55 | Int_t fTowerTrackHits;
|
---|
56 |
|
---|
57 | Double_t fEtaPhiRes;
|
---|
58 |
|
---|
59 | TBinMap fBinMap; //!
|
---|
60 |
|
---|
61 | std::vector<Double_t> fEtaBins;
|
---|
62 | std::vector<std::vector<Double_t> *> fPhiBins;
|
---|
63 |
|
---|
64 | std::vector<Long64_t> fTowerHits;
|
---|
65 |
|
---|
66 | TIterator *fItTrackInputArray; //!
|
---|
67 |
|
---|
68 | const TObjArray *fTrackInputArray; //!
|
---|
69 | TObjArray *fTrackOutputArray; //!
|
---|
70 |
|
---|
71 | TObjArray *fChargedHadronOutputArray; //!
|
---|
72 | TObjArray *fElectronOutputArray; //!
|
---|
73 | TObjArray *fMuonOutputArray; //!
|
---|
74 |
|
---|
75 | void FillTrack();
|
---|
76 | ClassDef(DenseTrackFilter, 1)
|
---|
77 | };
|
---|
78 |
|
---|
79 | #endif
|
---|