CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_4_4_5_patch3/src/Alignment/TrackerAlignment/interface/TrackerAlignment.h

Go to the documentation of this file.
00001 #ifndef Alignment_TrackerAlignment_TrackerAlignment_H
00002 #define Alignment_TrackerAlignment_TrackerAlignment_H
00003 
00011 #include "FWCore/Framework/interface/EventSetup.h"
00012 
00013 #include "Alignment/TrackerAlignment/interface/AlignableTracker.h"
00014 
00015 class TrackerAlignment
00016 {
00017 
00018 public:
00019   TrackerAlignment( const edm::EventSetup& setup );
00020 
00021   ~TrackerAlignment();
00022   
00023   AlignableTracker* getAlignableTracker() { return theAlignableTracker; }
00024    
00025   void moveAlignablePixelEndCaps( int rawId, const align::Scalars& localDisplacements, 
00026                                   const align::Scalars& localRotations  );
00027   void moveAlignableEndCaps( int rawId, const align::Scalars& localDisplacements, const align::Scalars& localRotations  );
00028   void moveAlignablePixelHalfBarrels( int rawId, const align::Scalars& localDisplacements, const align::Scalars& localRotations  );
00029   void moveAlignableInnerHalfBarrels( int rawId, const align::Scalars& localDisplacements, const align::Scalars& localRotations  );
00030   void moveAlignableOuterHalfBarrels( int rawId, const align::Scalars& localDisplacements, const align::Scalars& localRotations  );     
00031   void moveAlignableTIDs( int rawId, const align::Scalars& localDisplacements, const align::Scalars& localRotations  );
00032   void moveAlignableTIBTIDs( int rawId, const align::Scalars& globalDisplacements, const align::RotationType& backwardRotation, const align::RotationType& forwardRotation, bool toAndFro);
00033   
00034   void saveToDB();
00035   
00036 private:  
00037   AlignableTracker* theAlignableTracker;
00038 
00039   std::string theAlignRecordName, theErrorRecordName;
00040   
00041 };
00042 #endif //TrackerAlignment_H