ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/csander/HEPTutorial/Event.h
Revision: 1.4
Committed: Mon Jun 25 14:39:49 2012 UTC (12 years, 10 months ago) by csander
Content type: text/plain
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +3 -2 lines
Error occurred while calculating annotation data.
Log Message:
automated plotting

File Contents

# Content
1 /*
2 * Event.h
3 *
4 * Created on: 23.05.2012
5 * Author: csander
6 */
7
8 #ifndef EVENT_H_
9 #define EVENT_H_
10
11 class Event {
12 public:
13 Event();
14 Event(long long e, int l, int r) {
15 event = e;
16 lumi = l;
17 run = r;
18 }
19 ;
20 virtual ~Event();
21 long long event;
22 int lumi, run;
23
24 // bool operator==(const Event& e) const {
25 // return (e.event == event) && (e.lumi == lumi) && (e.run == run);
26 // }
27 // bool operator!=(const Event& e) const {
28 // return (e.event != event) || (e.lumi != lumi) || (e.run != run);
29 // }
30 bool operator==(const Event& e) const {
31 return (e.event == event) && (e.run == run);
32 }
33 bool operator!=(const Event& e) const {
34 return (e.event != event) || (e.run != run);
35 }
36
37 };
38
39 #endif /* EVENT_H_ */