Fork me on GitHub

source: git/modules/VertexSorter.h@ 0e2f49b

ImprovedOutputFile Timing dual_readout llp
Last change on this file since 0e2f49b was 0e2f49b, checked in by Michele Selvaggi <michele.selvaggi@…>, 9 years ago

added classes for Vertex Finding

  • Property mode set to 100644
File size: 1.1 KB
Line 
1#ifndef VertexSorter_h
2#define VertexSorter_h
3
4/** \class VertexSorter
5 *
6 * Merges particles from pile-up sample into event
7 *
8 *
9 * $Date: 2013-02-12 15:13:59 +0100 (Tue, 12 Feb 2013) $
10 * $Revision: 907 $
11 *
12 *
13 * \author M. Selvaggi - UCL, Louvain-la-Neuve
14 *
15 */
16
17#include "classes/DelphesModule.h"
18#include "classes/DelphesClasses.h"
19#include <utility>
20#include <algorithm>
21#include <stdexcept>
22#include <iostream>
23#include <sstream>
24#include <vector>
25#include <string>
26
27using namespace std;
28
29class TObjArray;
30class Candidate;
31class TVector3;
32
33class VertexSorter: public DelphesModule
34{
35public:
36
37 VertexSorter();
38 ~VertexSorter();
39
40 void Init();
41 void Process();
42 void Finish();
43
44 static bool secondDescending (pair<unsigned, double>, pair<unsigned, double>);
45 static bool secondAscending (pair<unsigned, double>, pair<unsigned, double>);
46
47private:
48
49 TObjArray *fInputArray;
50
51 TObjArray *fTrackInputArray;
52 TIterator *fItTrackInputArray;
53
54 TObjArray *fJetInputArray;
55 TIterator *fItJetInputArray;
56
57 TObjArray *fBeamSpotInputArray;
58 TIterator *fItBeamSpotInputArray;
59
60 TObjArray *fOutputArray;
61
62 string fMethod;
63
64 ClassDef(VertexSorter, 1)
65};
66
67#endif
Note: See TracBrowser for help on using the repository browser.