ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/System8/s8/S8Tree/interface/S8Jet.h
Revision: 1.2
Committed: Tue May 24 16:15:11 2011 UTC (13 years, 11 months ago) by samvel
Content type: text/plain
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +0 -0 lines
State: FILE REMOVED
Log Message:
Remove the S8Tree code

File Contents

# User Rev Content
1 samvel 1.1 /**
2     * Jet
3     * s8
4     *
5     * Created by Samvel Khalatian on Sep 28, 2010
6     * Copyright 2010, All rights reserved
7     */
8    
9     #ifndef S8_JET
10     #define S8_JET
11    
12     class TLorentzVector;
13    
14     namespace s8
15     {
16     class GenParticle;
17    
18     class Jet
19     {
20     public:
21     // Different BTaggers specification (to speed up search for
22     // b-tagger). BTAGS are only for internal use.
23     //
24     enum BTag {
25     TCHE,
26     TCHP,
27     JP,
28     SSV,
29     SSVHE,
30     SSVHP,
31     JBP, // Jet B Probability
32     CSV, // Combined Secondary Vertex
33     CSV_MVA, // Combined Secondary Vertex MVA
34     BTAGS
35     };
36    
37     Jet() throw();
38     ~Jet() throw();
39    
40     Jet(const Jet &);
41     Jet &operator =(const Jet &);
42    
43     void reset();
44    
45     int flavour() const;
46     int tracks() const;
47    
48     TLorentzVector *p4();
49     const TLorentzVector *p4() const;
50    
51     GenParticle *genParticle();
52     const GenParticle *genParticle() const;
53    
54     double btag(const BTag &) const;
55    
56    
57    
58     void setFlavour(const int &);
59     void setTracks(const int &);
60    
61     void setBTag(const BTag &, const double &);
62    
63     private:
64     int _flavour;
65     int _tracks;
66    
67     TLorentzVector *_p4;
68     GenParticle *_genParticle;
69    
70     // Low level array is used instead of vector to speed up
71     // compilation
72     //
73     double _btag[BTAGS];
74     };
75     }
76    
77     #endif