ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/yangyong/interface/EcalRecHitsRegional.h
Revision: 1.1
Committed: Mon Feb 28 16:50:13 2011 UTC (14 years, 2 months ago) by yangyong
Content type: text/plain
Branch: MAIN
CVS Tags: V01-00-00, HEAD
Log Message:
new files for running regionalUnpacking sequence on top of RECO data-format

File Contents

# Content
1 #ifndef _EcalRecHitsRegional_H
2 #define _EcalRecHitsRegional_H
3
4 // -*- C++ -*-
5 //
6 // Package: EcalRecHitsRegional
7 // Class: EcalRecHitsRegional
8 //
9 // \class EcalRecHitsRegional EcalRecHitsRegional.cc
10
11 /* Description:
12 This is the filter to reduce full-unpacked EcalRechits (What one gets normally from RECO) to the "regionally unpacked" EcalRecHits.
13 There is not actually unpacking going on in this filter, it just selects the EcalRecHits which should have been unpacked with some
14 defined threshold in the RawToRecHit process and save those EcalRecHits.
15
16 The main puropose is that one can run from RECO, instead of from RAW.
17
18 Right now Feb.28.11, only works for L1-egamma seeds regional unpacking.
19
20 */
21
22 //
23 // Original Author: Yong Yang
24 //
25 //
26
27
28 // system include files
29 #include <memory>
30
31 // user include files
32 #include "FWCore/Framework/interface/Frameworkfwd.h"
33 #include "HLTrigger/HLTcore/interface/HLTFilter.h"
34
35 #include "FWCore/Framework/interface/Event.h"
36 #include "FWCore/Framework/interface/MakerMacros.h"
37
38 #include "FWCore/ParameterSet/interface/ParameterSet.h"
39 #include "Geometry/EcalMapping/interface/EcalElectronicsMapping.h"
40
41
42
43 #include "DataFormats/L1Trigger/interface/L1EmParticle.h"
44
45 #include "DataFormats/L1Trigger/interface/L1EmParticleFwd.h"
46
47
48 #include "Geometry/EcalMapping/interface/EcalMappingRcd.h"
49 #include "CondFormats/L1TObjects/interface/L1CaloGeometry.h"
50 #include "CondFormats/DataRecord/interface/L1CaloGeometryRecord.h"
51
52
53 //
54 // class decleration
55 //
56
57 class EcalRecHitsRegional : public HLTFilter {
58 public:
59 explicit EcalRecHitsRegional(const edm::ParameterSet&);
60 ~EcalRecHitsRegional();
61
62
63 virtual bool filter(edm::Event &, const edm::EventSetup&);
64 private:
65
66 std::vector<int> ListOfFEDS(double etaLow, double etaHigh, double phiLow,
67 double phiHigh, double etamargin, double phimargin);
68
69
70 // ----------member data ---------------------------
71
72
73 edm::InputTag barrelHits_;
74 edm::InputTag endcapHits_;
75 std::string selectedBarrelHits_;
76 std::string selectedEndcapHits_;
77
78 EcalElectronicsMapping* TheMapping;
79
80 edm::InputTag l1IsolatedTag_;
81 edm::InputTag l1NonIsolatedTag_;
82 std::vector<int> FEDListUsed; ///by regional objects. ( em, jet, etc)
83
84 std::vector<int> FEDListUsedBarrel;
85 std::vector<int> FEDListUsedEndcap;
86
87 bool RegionalMatch_;
88
89 double ptMinEMObj_ ;
90
91 double EMregionEtaMargin_;
92 double EMregionPhiMargin_;
93
94 bool first_;
95
96 int debug_;
97
98
99
100 };
101
102 #endif