Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:25:47

0001 #ifndef RecoLocalCalo_HcalRecAlgos_HFPreRecAlgo_h_
0002 #define RecoLocalCalo_HcalRecAlgos_HFPreRecAlgo_h_
0003 
0004 #include "DataFormats/HcalRecHit/interface/HFQIE10Info.h"
0005 
0006 class QIE10DataFrame;
0007 class HcalCoder;
0008 struct HcalChannelProperties;
0009 
0010 class HFPreRecAlgo {
0011 public:
0012   inline explicit HFPreRecAlgo(const bool sumAllTS) : sumAllTS_(sumAllTS) {}
0013 
0014   inline ~HFPreRecAlgo() {}
0015 
0016   HFQIE10Info reconstruct(const QIE10DataFrame& digi,
0017                           int tsToUse,
0018                           const HcalCoder& coder,
0019                           const HcalChannelProperties& prop) const;
0020 
0021 private:
0022   bool sumAllTS_;
0023 };
0024 
0025 #endif  // RecoLocalCalo_HcalRecAlgos_HFPreRecAlgo_h_