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
Log Message:
automated plotting

File Contents

# User Rev Content
1 csander 1.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 csander 1.3 public:
13     Event();
14 csander 1.4 Event(long long e, int l, int r) {
15 csander 1.3 event = e;
16     lumi = l;
17     run = r;
18     }
19     ;
20     virtual ~Event();
21 csander 1.4 long long event;
22     int lumi, run;
23 csander 1.3
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 csander 1.2
37 csander 1.1 };
38    
39     #endif /* EVENT_H_ */