-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathEvent_Parser.h
More file actions
45 lines (32 loc) · 732 Bytes
/
Copy pathEvent_Parser.h
File metadata and controls
45 lines (32 loc) · 732 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
#ifndef EVENT_PARSER_H_
#define EVENT_PARSER_H_
#include <string>
#include <vector>
#include "Event.h"
#include "Particle.h"
class Event_Parser {
public:
/**
* Constructors
*/
Event_Parser();
Event_Parser(int nevents);
/**
* Destructor
*/
virtual ~Event_Parser();
/**
* Main workhorse function in this class which obtains the events to analyze
*/
std::vector<Event> get_events(std::string filepath,
std::string filename);
/**
* Getter and setter functions to get/set the number of events to analyze
*/
void set_event_num(int nevents);
int get_event_num();
private:
///The number of events one would like to analyze
int _nevents;
};
#endif /* EVENT_PARSER_H */