ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/L1TriggerDPG/interface/L1AnalysisL1Extra.h
(Generate patch)

Comparing UserCode/L1TriggerDPG/interface/L1AnalysisL1Extra.h (file contents):
Revision 1.3 by alebihan, Thu May 6 11:57:28 2010 UTC vs.
Revision 1.4 by econte, Thu Jun 17 20:34:32 2010 UTC

# Line 8 | Line 8
8   // Original code : UserCode/L1TriggerDPG/L1ExtraTreeProducer - Jim Brooke
9   //-------------------------------------------------------------------------------
10  
11
12 #include <vector>
13
11   #include "DataFormats/L1Trigger/interface/L1EmParticleFwd.h"
12   #include "DataFormats/L1Trigger/interface/L1EmParticle.h"
13   #include "DataFormats/L1Trigger/interface/L1JetParticleFwd.h"
# Line 23 | Line 20
20   #include "DataFormats/L1Trigger/interface/L1HFRings.h"
21   #include "DataFormats/L1GlobalTrigger/interface/L1GlobalTriggerReadoutRecord.h"
22  
23 + #include "L1AnalysisL1ExtraDataFormat.h"
24 +
25   namespace L1Analysis
26   {
27 <  class L1AnalysisL1Extra
27 >  class L1AnalysisL1Extra
28    {
29    public:
30      L1AnalysisL1Extra();
31      ~L1AnalysisL1Extra();
32 <    
34 <    void Reset();
35 <    void Print      (std::ostream &os = std::cout) const;
32 >    void Reset() {l1extra_.Reset();}
33      void SetIsoEm   (const edm::Handle<l1extra::L1EmParticleCollection>     isoEm,    unsigned maxL1Extra);
34      void SetNonIsoEm(const edm::Handle<l1extra::L1EmParticleCollection>     nonIsoEm, unsigned maxL1Extra);
35      void SetCenJet  (const edm::Handle<l1extra::L1JetParticleCollection>    cenJet,   unsigned maxL1Extra);
# Line 42 | Line 39 | namespace L1Analysis
39      void SetMet     (const edm::Handle<l1extra::L1EtMissParticleCollection> mets);
40      void SetMht     (const edm::Handle<l1extra::L1EtMissParticleCollection> mhts);
41      void SetHFring  (const edm::Handle<l1extra::L1HFRingsCollection>        hfRings);
42 +    L1AnalysisL1ExtraDataFormat * getData() {return &l1extra_;}
43  
44 <        
45 <    unsigned nIsoEm;
48 <    std::vector<double> isoEmEt;
49 <    std::vector<double> isoEmEta;
50 <    std::vector<double> isoEmPhi;
51 <    std::vector<int>    isoEmBx;
52 <
53 <    unsigned nNonIsoEm;
54 <    std::vector<double> nonIsoEmEt;
55 <    std::vector<double> nonIsoEmEta;
56 <    std::vector<double> nonIsoEmPhi;
57 <    std::vector<int>    nonIsoEmBx;
58 <
59 <    unsigned nCenJets;
60 <    std::vector<double> cenJetEt;
61 <    std::vector<double> cenJetEta;
62 <    std::vector<double> cenJetPhi;
63 <    std::vector<int>    cenJetBx;
64 <
65 <    unsigned nFwdJets;
66 <    std::vector<double> fwdJetEt;
67 <    std::vector<double> fwdJetEta;
68 <    std::vector<double> fwdJetPhi;
69 <    std::vector<int>    fwdJetBx;
70 <
71 <    unsigned nTauJets;
72 <    std::vector<double> tauJetEt;
73 <    std::vector<double> tauJetEta;
74 <    std::vector<double> tauJetPhi;
75 <    std::vector<int>    tauJetBx;
76 <
77 <    unsigned nMuons;
78 <    std::vector<double>   muonEt;
79 <    std::vector<double>   muonEta;
80 <    std::vector<double>   muonPhi;
81 <    std::vector<int>      muonChg;
82 <    std::vector<unsigned> muonIso;
83 <    std::vector<unsigned> muonFwd;
84 <    std::vector<unsigned> muonMip;
85 <    std::vector<unsigned> muonRPC;
86 <    std::vector<int>      muonBx;
87 <
88 <    std::vector<double>   hfEtSum;
89 <    std::vector<unsigned> hfBitCnt;
90 <    std::vector<int>      hfBx;
91 <    
92 <    double met,metPhi,mht,mhtPhi,et,ht;
93 <    int metsBx, mhtsBx;
44 >  private :
45 >    L1AnalysisL1ExtraDataFormat l1extra_;
46    };
47   }
48   #endif

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines