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 
47  reco::PFRecHit* createHcalRecHit( const DetId& detid,
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 
70  // Navigation in HF: False = no real clustering in HF; True = do clustering
72  double weight_HFem_;
73  double weight_HFhad_;
74 
75  // Apply HCAL DPG rechit calibration
77  bool HF_Calib_;
79  float HF_Calib_29;
80 
81  // Don't allow large energy in short fibres if there is no energy in long fibres
82  double shortFibre_Cut;
84 
85  // Don't allow large energy in long fibres if there is no energy in short fibres
86  double longFibre_Cut;
88 
89  // Also apply HCAL DPG cleaning
91 
92  // Don't allow too large timing excursion if energy in long/short fibres is large enough
98 
105 
109 
110  // Compensate for dead ECAL channels
114  unsigned int ECAL_Dead_Code_;
115 
116  // Depth correction for EM and HAD rechits in the HF
117  double EM_Depth_;
118  double HAD_Depth_;
119 
120 
123 
125 
126 
127 };
128 
131 
132 #endif
#define dso_hidden
PFRecHitNavigatorBase * navigator_
unsigned int ECAL_Dead_Code_
virtual void produce(Event &, EventSetup const &)=0
double thresh_HF_
threshold for HF
#define DEFINE_FWK_MODULE(type)
Definition: MakerMacros.h:17
tuple lumi
Definition: fjr2json.py:35
edm::EDGetTokenT< HBHERecHitCollection > hcalToken_
edm::EDGetTokenT< CaloTowerCollection > towersToken_
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
const HcalChannelQuality * theHcalChStatus
const CaloTowerConstituentsMap * theTowerConstituentsMap
Layer
layer definition
Definition: PFLayer.h:31
Definition: DetId.h:18
const EcalChannelStatus * theEcalChStatus
virtual void beginLuminosityBlock(edm::LuminosityBlock const &, edm::EventSetup const &)