CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_6_1_2_SLHC4_patch1/src/DQM/SiStripCommissioningSources/plugins/tracking/SiStripFineDelayTLA.h

Go to the documentation of this file.
00001 #ifndef CalibTracker_SiSitripLorentzAngle_SiStripFineDelayTLA_h
00002 #define CalibTracker_SiSitripLorentzAngle_SiStripFineDelayTLA_h
00003 
00004 #include "FWCore/Framework/interface/EDAnalyzer.h"
00005 #include "FWCore/Framework/interface/Event.h"
00006 #include "FWCore/Framework/interface/EventSetup.h"
00007 #include "FWCore/ParameterSet/interface/ParameterSet.h"
00008 #include "FWCore/MessageLogger/interface/MessageLogger.h"
00009 
00010 #include <DataFormats/TrackingRecHit/interface/TrackingRecHit.h>
00011 #include "DataFormats/TrackReco/interface/Track.h"
00012 #include "DataFormats/GeometryVector/interface/LocalVector.h"
00013 
00014 
00015 class TrackerGeometry;
00016 class TrackingRecHit;
00017 class TrajectorySeed;
00018 class Trajectory;
00019 
00020 class SiStripFineDelayTLA 
00021 {
00022  public:
00023   
00024   explicit SiStripFineDelayTLA(const edm::ParameterSet& conf);
00025   virtual ~SiStripFineDelayTLA();
00026   void init(const edm::Event& e,const edm::EventSetup& c);
00027 
00028   std::vector<std::pair< std::pair<DetId, LocalPoint> ,float> > findtrackangle(const std::vector<Trajectory>& traj);
00029   std::vector<std::pair< std::pair<DetId, LocalPoint> ,float> > findtrackangle(const Trajectory& traj);
00030 
00031  private:
00032 
00033   double computeAngleCorr(const LocalVector& v, double pitch, double thickness);
00034 
00035  private:
00036   edm::ParameterSet conf_;
00037   const TrackerGeometry * tracker;
00038 };
00039 
00040 
00041 #endif