File indexing completed on 2024-04-06 12:11:16
0001 #ifndef FastSimulation_ForwardDetectors_CastorFastClusterProducer_h
0002 #define FastSimulation_ForwardDetectors_CastorFastClusterProducer_h
0003
0004 #include "FWCore/Framework/interface/stream/EDProducer.h"
0005 #include "FWCore/ParameterSet/interface/ParameterSet.h"
0006 #include "FWCore/Utilities/interface/EDGetToken.h"
0007
0008
0009 #include "DataFormats/CastorReco/interface/CastorCluster.h"
0010 #include "DataFormats/HepMCCandidate/interface/GenParticle.h"
0011 #include "DataFormats/Math/interface/Point3D.h"
0012
0013
0014
0015
0016
0017 class CastorFastClusterProducer : public edm::stream::EDProducer<> {
0018 public:
0019 explicit CastorFastClusterProducer(const edm::ParameterSet&);
0020 ~CastorFastClusterProducer() override;
0021
0022 private:
0023 void produce(edm::Event&, const edm::EventSetup&) override;
0024 double make_noise();
0025
0026
0027 typedef math::XYZPointD Point;
0028 typedef ROOT::Math::RhoEtaPhiPoint ClusterPoint;
0029 typedef std::vector<reco::CastorCluster> CastorClusterCollection;
0030 const edm::EDGetTokenT<reco::GenParticleCollection> tokGenPart_;
0031 };
0032
0033 #endif