ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/L1TriggerDPG/interface/PromptL1GCT.h
Revision: 1.1
Committed: Thu Mar 11 13:56:38 2010 UTC (15 years, 1 month ago) by alebihan
Content type: text/plain
Branch: MAIN
CVS Tags: V20-00-00
Log Message:
general clean-up of prompt analysis code, migration to PromptL1 classes

File Contents

# User Rev Content
1 alebihan 1.1 #ifndef __PromptL1_PromptL1GCT_H__
2     #define __PromptL1_PromptL1GCT_H__
3    
4     //-------------------------------------------------------------------------------
5     // Created 06/01/2010 - A.C. Le Bihan
6     //
7     //
8     // Original code : UserCode/L1TriggerDPG/L1NtupleProducer
9     //-------------------------------------------------------------------------------
10    
11     #include "DataFormats/L1GlobalCaloTrigger/interface/L1GctCollections.h"
12     #include "DataFormats/L1CaloTrigger/interface/L1CaloCollections.h"
13     #include "DataFormats/Common/interface/Handle.h"
14     #include <vector>
15    
16     using namespace std;
17    
18     namespace PromptL1
19     {
20     class PromptL1GCT
21     {
22     public:
23     PromptL1GCT();
24     PromptL1GCT(bool verbose);
25     ~PromptL1GCT();
26    
27     void Reset();
28     void SetJet(edm::Handle < L1GctJetCandCollection > l1CenJets,
29     edm::Handle < L1GctJetCandCollection > l1ForJets,
30     edm::Handle < L1GctJetCandCollection > l1TauJets);
31    
32     void SetES(edm::Handle < L1GctEtMissCollection > l1EtMiss, edm::Handle < L1GctHtMissCollection > l1HtMiss,
33     edm::Handle < L1GctEtHadCollection > l1EtHad, edm::Handle < L1GctEtTotalCollection > l1EtTotal);
34    
35     void SetHFminbias(edm::Handle < L1GctHFRingEtSumsCollection > l1HFSums,
36     edm::Handle < L1GctHFBitCountsCollection > l1HFCounts);
37    
38     void SetEm(edm::Handle < L1GctEmCandCollection > l1IsoEm,
39     edm::Handle < L1GctEmCandCollection > l1NonIsoEm);
40    
41     void Init();
42    
43     // ---- PromptL1GCT information.
44    
45     bool verbose_;
46    
47     int gctIsoEmSize;
48     vector<float> gctIsoEmEta;
49     vector<float> gctIsoEmPhi;
50     vector<float> gctIsoEmRnk;
51    
52     int gctNonIsoEmSize;
53     vector<float> gctNonIsoEmEta;
54     vector<float> gctNonIsoEmPhi;
55     vector<float> gctNonIsoEmRnk;
56    
57     int gctCJetSize;
58     vector<float> gctCJetEta;
59     vector<float> gctCJetPhi;
60     vector<float> gctCJetRnk;
61    
62     int gctFJetSize;
63     vector<float> gctFJetEta;
64     vector<float> gctFJetPhi;
65     vector<float> gctFJetRnk;
66    
67     int gctTJetSize;
68     vector<float> gctTJetEta;
69     vector<float> gctTJetPhi;
70     vector<float> gctTJetRnk;
71    
72     float gctEtMiss;
73     float gctEtMissPhi;
74     float gctHtMiss;
75     float gctHtMissPhi;
76     float gctEtHad;
77     float gctEtTot;
78     int gctHFRingEtSumSize;
79    
80     vector<float> gctHFRingEtSumEta;
81     float gctHFBitCountsSize;
82     vector<float> gctHFBitCountsEta;
83    
84    
85     };
86     }
87     #endif
88    
89