File indexing completed on 2024-04-06 12:06:45
0001
0002
0003
0004
0005
0006
0007
0008 #ifndef BeamSplash_H
0009 #define BeamSplash_H
0010
0011
0012 #include <memory>
0013 #include <vector>
0014 #include <map>
0015 #include <set>
0016
0017
0018 #include "FWCore/Utilities/interface/InputTag.h"
0019 #include "FWCore/Framework/interface/Frameworkfwd.h"
0020 #include "FWCore/Framework/interface/stream/EDFilter.h"
0021 #include "FWCore/Framework/interface/Event.h"
0022 #include "FWCore/Framework/interface/MakerMacros.h"
0023 #include "FWCore/ParameterSet/interface/ParameterSet.h"
0024 #include "FWCore/Framework/interface/ESHandle.h"
0025 #include "FWCore/MessageLogger/interface/MessageLogger.h"
0026
0027
0028
0029
0030
0031 class BeamSplash : public edm::stream::EDFilter<> {
0032 public:
0033 explicit BeamSplash(const edm::ParameterSet &);
0034 ~BeamSplash() override;
0035
0036 private:
0037 bool filter(edm::Event &, const edm::EventSetup &) override;
0038
0039 edm::InputTag EBRecHitCollection_;
0040 edm::InputTag EERecHitCollection_;
0041 edm::InputTag HBHERecHitCollection_;
0042 double EnergyCutTot;
0043 double EnergyCutEcal;
0044 double EnergyCutHcal;
0045 bool applyfilter;
0046 };
0047
0048 #endif