Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 14:24:35

0001 #ifndef RecoLocalFastTime_FTLCommonAlgos_MTDTimeCalib_H
0002 #define RecoLocalFastTime_FTLCommonAlgos_MTDTimeCalib_H 1
0003 
0004 #include "DataFormats/ForwardDetId/interface/MTDDetId.h"
0005 
0006 #include "Geometry/MTDGeometryBuilder/interface/MTDGeometry.h"
0007 #include "Geometry/MTDNumberingBuilder/interface/MTDTopology.h"
0008 
0009 #include "FWCore/ParameterSet/interface/ParameterSet.h"
0010 
0011 class MTDTimeCalib {
0012 public:
0013   //constructor & destructor
0014   MTDTimeCalib(edm::ParameterSet const& conf, const MTDGeometry* geom, const MTDTopology* topo);
0015   ~MTDTimeCalib(){};
0016 
0017   //accessors
0018   float getTimeCalib(const MTDDetId& id) const;
0019 
0020 private:
0021   const MTDGeometry* geom_;
0022   const MTDTopology* topo_;
0023   float btlTimeOffset_;
0024   float etlTimeOffset_;
0025 
0026   //specific paramters from BTL simulation
0027   float btlLightCollTime_;
0028   float btlLightCollSlope_;
0029 };
0030 
0031 #endif