Fork me on GitHub

source: git/modules/VertexSorter.h@ 14fe596

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

fixed compilation bug in gcc530

  • 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 <vector>
21#include <string>
22#include <unordered_map>
23
24
25using namespace std;
26
27class TObjArray;
28class Candidate;
29class TVector3;
30
31class VertexSorter: public DelphesModule
32{
33public:
34
35 VertexSorter();
36 ~VertexSorter();
37
38 void Init();
39 void Process();
40 void Finish();
41
42 static Bool_t secondDescending (pair<UInt_t, Double_t>, pair<UInt_t, Double_t>);
43 static Bool_t secondAscending (pair<UInt_t, Double_t>, pair<UInt_t, Double_t>);
44
45private:
46
47 TObjArray *fInputArray;
48
49 TObjArray *fTrackInputArray;
50 TIterator *fItTrackInputArray;
51
52 TObjArray *fJetInputArray;
53 TIterator *fItJetInputArray;
54
55 TObjArray *fBeamSpotInputArray;
56 TIterator *fItBeamSpotInputArray;
57
58 TObjArray *fOutputArray;
59
60 string fMethod;
61
62 ClassDef(VertexSorter, 1)
63};
64
65#endif
Note: See TracBrowser for help on using the repository browser.