CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
PFCTRecHitProducer.h
Go to the documentation of this file.
1 #ifndef RecoParticleFlow_PFClusterProducer_PFCTRecHitProducer_h_
2 #define RecoParticleFlow_PFClusterProducer_PFCTRecHitProducer_h_
3 
4 // system include files
5 #include <memory>
6 #include <vector>
7 
8 // user include files
11 
14 
16 
18 
23 
29 
30 
33 class DetId;
34 
36  public:
37  explicit PFCTRecHitProducer(const edm::ParameterSet&);
39 
40  virtual void beginLuminosityBlock(const edm::LuminosityBlock& lumi,
41  const edm::EventSetup & es) override;
42 
43  void produce(edm::Event& iEvent,
44  const edm::EventSetup& iSetup);
45 
46 
48  double energy,
49  PFLayer::Layer layer,
51  const CaloTowerDetId& newDetId);
52 
53 
54  protected:
60 
61 
62  // ----------access to event data
66 
68  double thresh_HF_;
69  // Navigation in HF: False = no real clustering in HF; True = do clustering
71  double weight_HFem_;
72  double weight_HFhad_;
73 
74  // Apply HCAL DPG rechit calibration
76  bool HF_Calib_;
78  float HF_Calib_29;
79 
80  // Don't allow large energy in short fibres if there is no energy in long fibres
81  double shortFibre_Cut;
83 
84  // Don't allow large energy in long fibres if there is no energy in short fibres
85  double longFibre_Cut;
87 
88  // Also apply HCAL DPG cleaning
90 
91  // Don't allow too large timing excursion if energy in long/short fibres is large enough
97 
104 
108 
109  // Compensate for dead ECAL channels
113  unsigned int ECAL_Dead_Code_;
114 
115  // Depth correction for EM and HAD rechits in the HF
116  double EM_Depth_;
117  double HAD_Depth_;
118 
119 
122 
124 
125 
126 };
127 
130 
131 #endif
PFRecHitNavigatorBase * navigator_
unsigned int ECAL_Dead_Code_
virtual void beginLuminosityBlock(const edm::LuminosityBlock &lumi, const edm::EventSetup &es) override
double thresh_HF_
threshold for HF
#define DEFINE_FWK_MODULE(type)
Definition: MakerMacros.h:17
tuple lumi
Definition: fjr2json.py:35
PFCTRecHitProducer(const edm::ParameterSet &)
edm::EDGetTokenT< HBHERecHitCollection > hcalToken_
edm::EDGetTokenT< CaloTowerCollection > towersToken_
reco::PFRecHit * createHcalRecHit(const DetId &detid, double energy, PFLayer::Layer layer, const CaloSubdetectorGeometry *geom, const CaloTowerDetId &newDetId)
edm::EDGetTokenT< HFRecHitCollection > hfToken_
int iEvent
Definition: GenABIO.cc:230
Particle flow rechit (rechit + geometry and topology information). See clustering algorithm in PFClus...
Definition: PFRecHit.h:35
void produce(edm::Event &iEvent, const edm::EventSetup &iSetup)
const HcalChannelQuality * theHcalChStatus
const CaloTowerConstituentsMap * theTowerConstituentsMap
Layer
layer definition
Definition: PFLayer.h:31
Definition: DetId.h:18
const EcalChannelStatus * theEcalChStatus