00001 #ifndef FastSimulation_ForwardDetectors_CastorFastClusterProducer_h 00002 #define FastSimulation_ForwardDetectors_CastorFastClusterProducer_h 00003 00004 // Castorobject includes 00005 #include "DataFormats/CastorReco/interface/CastorCluster.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 CastorFastClusterProducer : public edm::EDProducer { 00017 public: 00018 explicit CastorFastClusterProducer(const edm::ParameterSet&); 00019 ~CastorFastClusterProducer(); 00020 00021 private: 00022 virtual void produce(edm::Event&, const edm::EventSetup&) override; 00023 double make_noise(); 00024 00025 // ----------member data --------------------------- 00026 typedef math::XYZPointD Point; 00027 typedef ROOT::Math::RhoEtaPhiPoint ClusterPoint; 00028 typedef std::vector<reco::CastorCluster> CastorClusterCollection; 00029 }; 00030 00031 #endif 00032 00033