Last change
on this file since 90345e5 was 77e9ae1, checked in by Pavel Demin <pavel-demin@…>, 6 years ago |
set Standard to Cpp03 in .clang-format
|
-
Property mode
set to
100644
|
File size:
1.4 KB
|
Rev | Line | |
---|
[0e2f49b] | 1 | #ifndef VertexFinder_h
|
---|
| 2 | #define VertexFinder_h
|
---|
| 3 |
|
---|
| 4 | /** \class VertexFinder
|
---|
| 5 | *
|
---|
[2600216] | 6 | * Cluster vertices from tracks
|
---|
[0e2f49b] | 7 | *
|
---|
[5658083] | 8 | * \authors A. Hart, M. Selvaggi
|
---|
[0e2f49b] | 9 | *
|
---|
| 10 | */
|
---|
| 11 |
|
---|
| 12 | #include "classes/DelphesModule.h"
|
---|
| 13 |
|
---|
[341014c] | 14 | #include <map>
|
---|
[95b4e9f] | 15 | #include <string>
|
---|
| 16 | #include <vector>
|
---|
[0e2f49b] | 17 |
|
---|
| 18 | class TObjArray;
|
---|
[95b4e9f] | 19 | class TIterator;
|
---|
[0e2f49b] | 20 |
|
---|
| 21 | class VertexFinder: public DelphesModule
|
---|
| 22 | {
|
---|
| 23 | public:
|
---|
| 24 | VertexFinder();
|
---|
| 25 | ~VertexFinder();
|
---|
| 26 |
|
---|
| 27 | void Init();
|
---|
| 28 | void Process();
|
---|
| 29 | void Finish();
|
---|
| 30 |
|
---|
| 31 | private:
|
---|
[341014c] | 32 | void createSeeds();
|
---|
| 33 | void growCluster(const UInt_t);
|
---|
| 34 | Double_t weight(const UInt_t);
|
---|
| 35 | void addTrackToCluster(const UInt_t, const UInt_t);
|
---|
| 36 | void removeTrackFromCluster(const UInt_t, const UInt_t);
|
---|
[0e2f49b] | 37 |
|
---|
| 38 | Double_t fSigma;
|
---|
| 39 | Double_t fMinPT;
|
---|
| 40 | Double_t fMaxEta;
|
---|
| 41 | Double_t fSeedMinPT;
|
---|
| 42 | Int_t fMinNDF;
|
---|
| 43 | Int_t fGrowSeeds;
|
---|
| 44 |
|
---|
| 45 | TObjArray *fInputArray;
|
---|
| 46 | TIterator *fItInputArray;
|
---|
| 47 |
|
---|
| 48 | TObjArray *fOutputArray;
|
---|
[2600216] | 49 | TObjArray *fVertexOutputArray;
|
---|
[0e2f49b] | 50 |
|
---|
[77e9ae1] | 51 | std::map<UInt_t, std::map<std::string, Double_t> > trackIDToDouble;
|
---|
| 52 | std::map<UInt_t, std::map<std::string, Int_t> > trackIDToInt;
|
---|
| 53 | std::map<UInt_t, std::map<std::string, Bool_t> > trackIDToBool;
|
---|
[0e2f49b] | 54 |
|
---|
[77e9ae1] | 55 | std::map<UInt_t, std::map<std::string, Double_t> > clusterIDToDouble;
|
---|
| 56 | std::map<UInt_t, std::map<std::string, Int_t> > clusterIDToInt;
|
---|
| 57 | std::map<UInt_t, std::map<std::string, Bool_t> > clusterIDToBool;
|
---|
| 58 | std::vector<std::pair<UInt_t, Double_t> > trackPT;
|
---|
| 59 | std::vector<std::pair<UInt_t, Double_t> > clusterSumPT2;
|
---|
[0e2f49b] | 60 |
|
---|
| 61 | ClassDef(VertexFinder, 1)
|
---|
| 62 | };
|
---|
| 63 |
|
---|
| 64 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.