ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/PollackPrograms/src/TCPhoton.h
(Generate patch)

Comparing UserCode/PollackPrograms/src/TCPhoton.h (file contents):
Revision 1.1 by bpollack, Tue Jul 24 20:24:58 2012 UTC vs.
Revision 1.2 by bpollack, Wed Feb 20 21:39:43 2013 UTC

# Line 4 | Line 4
4   #include "TObject.h"
5   #include "TLorentzVector.h"
6   #include "TArrayF.h"
7 + #include "TCPhysObject.h"
8   #include <vector>
8 #include <map>
9 #include <utility>
10 #include <string>
9  
10   using namespace std;
11  
12 < class TCPhoton : public TLorentzVector {
12 > class TCPhoton : public TCPhysObject {
13   private:
16    //std::pair<TLorentzVector, TLorentzVector> _convP4;
17    TVector3 _vtx;
18    map<int, float> _PhotonIndexMap;
19    map<string, float> _PhotonTrueMap;
20    int   _charge;
14  
15 <    vector<float> _trkIsoVtxDR04;
16 <    vector<float> _trkIsoVtxDR03;
15 >    // ID variables
16 >    float _normChi2;
17 >    float _hadOverEm; //
18 >    float _sigmaIEtaIEta; //
19 >    float _r9;
20 >    float _sigmaIPhiIPhi;
21 >    float _e2OverE9;
22 >    bool  _trackVeto;
23 >
24 >    // supercluster information
25 >    float _SCdPhi;
26 >    float _SCdEta;
27 >    float _SCeta;
28 >    float _SCphi;
29 >    float _SCenergy;
30 >
31 >    //conversion info
32 >    bool    _convVeto;
33  
34   public:
35      TCPhoton();
# Line 28 | Line 37 | public:
37  
38      // "get" methods -----------
39  
40 <    map<string, float> PhotonMap();
40 >    float NormChi2() const;
41 >    float HadOverEm() const;
42 >    float SigmaIEtaIEta() const;
43 >    float SigmaIPhiIPhi() const;
44 >    float R9() const;
45 >    float E2OverE9() const;
46 >    bool  TrackVeto() const;
47 >
48 >    float SCDPhi() const;
49 >    float SCDEta() const;
50 >    float SCEnergy() const;
51 >    float SCEta() const;
52 >    float SCPhi() const;
53  
54 <    TVector3 Vtx() const;
34 <    int   Charge() const;
35 <    vector<float> TrkIsoVtxDR04() const;
36 <    vector<float> TrkIsoVtxDR03() const;
54 >    bool  ConversionVeto() const;
55  
56      // "set" methods ---------
57 <    void LoadMap(vector<string> svec);
58 <    void SetMap(string s, float v, vector<string>* svec);
59 <    void SetVtx(float vx, float vy, float vz);
60 <
61 <    void SetCharge(int c);
62 <    void SetTRKIsoVtxDR04(float t);
63 <    void SetTRKIsoVtxDR03(float t);
57 >
58 >    void SetNormChi2(float);
59 >    void SetHadOverEm(float);
60 >    void SetSigmaIEtaIEta(float);
61 >    void SetSigmaIPhiIPhi(float);
62 >    void SetR9(float);
63 >    void SetE2OverE9(float);
64 >    void SetTrackVeto(bool);
65 >
66 >    void SetSCDPhi(float);
67 >    void SetSCDEta(float);
68 >    void SetSCEta(float);
69 >    void SetSCPhi(float);
70 >    void SetSCEnergy(float);
71 >
72 >    void SetConversionVeto(bool);
73  
74      ClassDef(TCPhoton, 1);
75   };

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines