Fork me on GitHub

source: git/modules/VertexFinder.h@ 8a4fba8

ImprovedOutputFile Timing dual_readout llp
Last change on this file since 8a4fba8 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
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
13#include "classes/DelphesModule.h"
14
15#include <string>
16#include <vector>
17#include <map>
18
19class TObjArray;
20class TIterator;
21
22class VertexFinder: public DelphesModule
23{
24public:
25
26 VertexFinder();
27 ~VertexFinder();
28
29 void Init();
30 void Process();
31 void Finish();
32
33private:
34
35 void createSeeds ();
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);
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;
52 TObjArray *fVertexOutputArray;
53
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;
57
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;
63
64 ClassDef(VertexFinder, 1)
65};
66
67#endif
Note: See TracBrowser for help on using the repository browser.