File indexing completed on 2024-04-06 12:11:16
0001 #ifndef FastSimulation_ForwardDetectors_CastorFastTowerProducer_h
0002 #define FastSimulation_ForwardDetectors_CastorFastTowerProducer_h
0003
0004
0005 #include "DataFormats/CastorReco/interface/CastorTower.h"
0006 #include "DataFormats/Math/interface/Point3D.h"
0007 #include "DataFormats/HepMCCandidate/interface/GenParticle.h"
0008
0009 #include "FWCore/Framework/interface/stream/EDProducer.h"
0010 #include "FWCore/ParameterSet/interface/ParameterSet.h"
0011 #include "FWCore/Utilities/interface/EDGetToken.h"
0012
0013
0014
0015
0016
0017 class CastorFastTowerProducer : public edm::stream::EDProducer<> {
0018 public:
0019 explicit CastorFastTowerProducer(const edm::ParameterSet&);
0020 ~CastorFastTowerProducer() 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 TowerPoint;
0029 typedef std::vector<reco::CastorTower> CastorTowerCollection;
0030 const edm::EDGetTokenT<reco::GenParticleCollection> tokGenPart_;
0031 };
0032
0033 #endif