ImprovedOutputFile
Timing
dual_readout
llp
Last change
on this file since 44b0a31 was 95b4e9f, checked in by Pavel Demin <pavel.demin@…>, 8 years ago |
reorganize includes in vertexing modules
|
-
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 |
|
---|
[5658083] | 12 |
|
---|
[0e2f49b] | 13 | #include "classes/DelphesModule.h"
|
---|
| 14 |
|
---|
[95b4e9f] | 15 | #include <string>
|
---|
| 16 | #include <vector>
|
---|
| 17 | #include <map>
|
---|
[0e2f49b] | 18 |
|
---|
| 19 | class TObjArray;
|
---|
[95b4e9f] | 20 | class TIterator;
|
---|
[0e2f49b] | 21 |
|
---|
| 22 | class VertexFinder: public DelphesModule
|
---|
| 23 | {
|
---|
| 24 | public:
|
---|
| 25 |
|
---|
| 26 | VertexFinder();
|
---|
| 27 | ~VertexFinder();
|
---|
| 28 |
|
---|
| 29 | void Init();
|
---|
| 30 | void Process();
|
---|
| 31 | void Finish();
|
---|
| 32 |
|
---|
| 33 | private:
|
---|
| 34 |
|
---|
| 35 | void createSeeds ();
|
---|
[5658083] | 36 | void growCluster (const UInt_t);
|
---|
| 37 | Double_t weight (const UInt_t);
|
---|
| 38 | void addTrackToCluster (const UInt_t, const UInt_t);
|
---|
| 39 | void removeTrackFromCluster (const UInt_t, const UInt_t);
|
---|
[0e2f49b] | 40 |
|
---|
| 41 | Double_t fSigma;
|
---|
| 42 | Double_t fMinPT;
|
---|
| 43 | Double_t fMaxEta;
|
---|
| 44 | Double_t fSeedMinPT;
|
---|
| 45 | Int_t fMinNDF;
|
---|
| 46 | Int_t fGrowSeeds;
|
---|
| 47 |
|
---|
| 48 | TObjArray *fInputArray;
|
---|
| 49 | TIterator *fItInputArray;
|
---|
| 50 |
|
---|
| 51 | TObjArray *fOutputArray;
|
---|
[2600216] | 52 | TObjArray *fVertexOutputArray;
|
---|
[0e2f49b] | 53 |
|
---|
[95b4e9f] | 54 | std::map<UInt_t, std::map<std::string, Double_t> > trackIDToDouble;
|
---|
| 55 | std::map<UInt_t, std::map<std::string, Int_t> > trackIDToInt;
|
---|
| 56 | std::map<UInt_t, std::map<std::string, Bool_t> > trackIDToBool;
|
---|
[0e2f49b] | 57 |
|
---|
[95b4e9f] | 58 | std::map<UInt_t, std::map<std::string, Double_t> > clusterIDToDouble;
|
---|
| 59 | std::map<UInt_t, std::map<std::string, Int_t> > clusterIDToInt;
|
---|
| 60 | std::map<UInt_t, std::map<std::string, Bool_t> > clusterIDToBool;
|
---|
| 61 | std::vector<std::pair<UInt_t, Double_t> > trackPT;
|
---|
| 62 | std::vector<std::pair<UInt_t, Double_t> > clusterSumPT2;
|
---|
[0e2f49b] | 63 |
|
---|
| 64 | ClassDef(VertexFinder, 1)
|
---|
| 65 | };
|
---|
| 66 |
|
---|
| 67 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.