Fork me on GitHub

source: git/modules/VertexSorter.h@ 5658083

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

changed datatype to ROOT compliant

  • 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 *
7 * Sorts vertices according to different criteria
8 *
9 * \authors A. Hart, M. Selvaggi
10 *
11 *
12*/
13
14#include "classes/DelphesModule.h"
15#include "classes/DelphesClasses.h"
16#include <utility>
17#include <algorithm>
18#include <stdexcept>
19#include <iostream>
20#include <sstream>
21#include <vector>
22#include <string>
23
24using namespace std;
25
26class TObjArray;
27class Candidate;
28class TVector3;
29
30class VertexSorter: public DelphesModule
31{
32public:
33
34 VertexSorter();
35 ~VertexSorter();
36
37 void Init();
38 void Process();
39 void Finish();
40
41 static Bool_t secondDescending (pair<UInt_t, Double_t>, pair<UInt_t, Double_t>);
42 static Bool_t secondAscending (pair<UInt_t, Double_t>, pair<UInt_t, Double_t>);
43
44private:
45
46 TObjArray *fInputArray;
47
48 TObjArray *fTrackInputArray;
49 TIterator *fItTrackInputArray;
50
51 TObjArray *fJetInputArray;
52 TIterator *fItJetInputArray;
53
54 TObjArray *fBeamSpotInputArray;
55 TIterator *fItBeamSpotInputArray;
56
57 TObjArray *fOutputArray;
58
59 string fMethod;
60
61 ClassDef(VertexSorter, 1)
62};
63
64#endif
Note: See TracBrowser for help on using the repository browser.