Go to the documentation of this file.00001 #ifndef GEOMETRY_HCALEVENTSETUP_HCALALIGNMENTEP_H
00002 #define GEOMETRY_HCALEVENTSETUP_HCALALIGNMENTEP_H 1
00003
00004
00005 #include <memory>
00006
00007
00008 #include "FWCore/Framework/interface/ModuleFactory.h"
00009 #include "FWCore/Framework/interface/ESProducer.h"
00010 #include "FWCore/MessageLogger/interface/MessageLogger.h"
00011
00012
00013 #include "CondFormats/Alignment/interface/Alignments.h"
00014 #include "CondFormats/Alignment/interface/AlignmentErrors.h"
00015 #include "Geometry/HcalTowerAlgo/interface/HcalGeometry.h"
00016 #include "CondFormats/AlignmentRecord/interface/HcalAlignmentRcd.h"
00017 #include "CondFormats/AlignmentRecord/interface/HcalAlignmentErrorRcd.h"
00018 #include "FWCore/Framework/interface/ESHandle.h"
00019
00020 class HcalAlignmentEP : public edm::ESProducer {
00021
00022 public:
00023
00024 typedef boost::shared_ptr<Alignments> ReturnAli ;
00025 typedef boost::shared_ptr<AlignmentErrors> ReturnAliErr ;
00026
00027 typedef AlignTransform::Translation Trl ;
00028 typedef AlignTransform::Rotation Rot ;
00029
00030 HcalAlignmentEP(const edm::ParameterSet&);
00031 ~HcalAlignmentEP();
00032
00033
00034
00035 ReturnAli produceHcalAli( const HcalAlignmentRcd& iRecord );
00036 };
00037
00038 #endif