ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/csander/HEPTutorial/MyPhoton.h
Revision: 1.1
Committed: Wed Feb 1 14:55:55 2012 UTC (13 years, 3 months ago) by csander
Content type: text/plain
Branch: MAIN
Log Message:
electrons and photons included

File Contents

# User Rev Content
1 csander 1.1 /*
2     * MyPhoton.h
3     *
4     * Created on: Feb 1, 2012
5     * Author: csander
6     */
7    
8     #ifndef MYPHOTON_H_
9     #define MYPHOTON_H_
10    
11     #include <TLorentzVector.h>
12    
13     class MyPhoton: public TLorentzVector {
14    
15     public:
16    
17     MyPhoton();
18     MyPhoton(double px, double py, double pz, double e) {
19     SetPxPyPzE(px, py, pz, e);
20     }
21     ;
22     virtual ~MyPhoton();
23    
24     void SetIsolation(double x) {
25     isolation = x;
26     }
27     ;
28    
29     const double GetIsolation() {
30     return isolation;
31     }
32     ;
33    
34     private:
35    
36     double isolation;
37    
38     };
39    
40     #endif /* MYPHOTON_H_ */