CMS 3D CMS Logo

/afs/cern.ch/work/a/aaltunda/public/www/CMSSW_5_3_14/src/FastSimulation/ForwardDetectors/plugins/CastorFastTowerProducer.h

Go to the documentation of this file.
00001 #ifndef FastSimulation_ForwardDetectors_CastorFastTowerProducer_h
00002 #define FastSimulation_ForwardDetectors_CastorFastTowerProducer_h
00003 
00004 // Castorobject includes
00005 #include "DataFormats/CastorReco/interface/CastorTower.h"
00006 
00007 #include "FWCore/ParameterSet/interface/ParameterSet.h"
00008 
00009 #include "DataFormats/Math/interface/Point3D.h"
00010 
00011 
00012 //
00013 // class decleration
00014 //
00015 
00016 class CastorFastTowerProducer : public edm::EDProducer {
00017    public:
00018       explicit CastorFastTowerProducer(const edm::ParameterSet&);
00019       ~CastorFastTowerProducer();
00020 
00021    private:
00022       virtual void beginRun(edm::Run&, edm::EventSetup const&) ;
00023       virtual void produce(edm::Event&, const edm::EventSetup&);
00024       double make_noise();
00025       virtual void endRun() ;
00026       
00027       // ----------member data ---------------------------
00028       typedef math::XYZPointD Point;
00029       typedef ROOT::Math::RhoEtaPhiPoint TowerPoint;
00030       typedef std::vector<reco::CastorTower> CastorTowerCollection;
00031 };
00032 
00033 #endif
00034 
00035