Fork me on GitHub

source: git/modules/VertexFinder.h@ 4e8e72b

Last change on this file since 4e8e72b 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
Line 
1#ifndef VertexFinder_h
2#define VertexFinder_h
3
4/** \class VertexFinder
5 *
6 * Cluster vertices from tracks
7 *
8 * \authors A. Hart, M. Selvaggi
9 *
10 */
11
12#include "classes/DelphesModule.h"
13
14#include <map>
15#include <string>
16#include <vector>
17
18class TObjArray;
19class TIterator;
20
21class VertexFinder: public DelphesModule
22{
23public:
24 VertexFinder();
25 ~VertexFinder();
26
27 void Init();
28 void Process();
29 void Finish();
30
31private:
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);
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;
49 TObjArray *fVertexOutputArray;
50
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;
54
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;
60
61 ClassDef(VertexFinder, 1)
62};
63
64#endif
Note: See TracBrowser for help on using the repository browser.