Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:08:35

0001 #ifndef CalibTracker_SiSitripLorentzAngle_SiStripFineDelayTOF_h
0002 #define CalibTracker_SiSitripLorentzAngle_SiStripFineDelayTOF_h
0003 
0004 namespace reco {
0005   class Track;
0006 }
0007 
0008 class TrackingRecHit;
0009 
0010 class SiStripFineDelayTOF {
0011 public:
0012   static double timeOfFlight(bool cosmics, bool field, double* trackParameters, double* hit, double* phit, bool onDisk);
0013   static void trackParameters(const reco::Track& tk, double* trackParameters);
0014 
0015   SiStripFineDelayTOF() = delete;
0016   virtual ~SiStripFineDelayTOF() = delete;
0017 
0018 private:
0019   static double timeOfFlightCosmic(double* hit, double* phit);
0020   static double timeOfFlightCosmicB(double* trackParameters, double* hit, double* phit, bool onDisk);
0021   static double timeOfFlightBeam(double* hit, double* phit);
0022   static double timeOfFlightBeamB(double* trackParameters, double* hit, double* phit, bool onDisk);
0023   static double x(double* trackParameters, double phi);
0024   static double y(double* trackParameters, double phi);
0025   static double z(double* trackParameters, double phi);
0026   static double getPhi(double* trackParameters, double* hit, bool onDisk);
0027 };
0028 
0029 #endif