CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
RetrievePPSAssociationCuts.cc
Go to the documentation of this file.
1 /****************************************************************************
2 * Author:
3 * Grzegorz Sroka
4 ****************************************************************************/
5 
12 
16 
19 
20 #include <memory>
21 
23 public:
25 
26 private:
27  void analyze(const edm::Event &, const edm::EventSetup &) override;
28 
30 };
31 
33 
35  // get the data
36  const auto &ppsAssociationCuts = iSetup.getData(esToken_);
37 
38  edm::LogInfo("PPS") << ppsAssociationCuts;
39 }
40 
41 //define this as a plug-in
#define DEFINE_FWK_MODULE(type)
Definition: MakerMacros.h:16
edm::ESGetToken< PPSAssociationCuts, PPSAssociationCutsRcd > esToken_
bool getData(T &iHolder) const
Definition: EventSetup.h:128
int iEvent
Definition: GenABIO.cc:224
Log< level::Info, false > LogInfo
void analyze(const edm::Event &, const edm::EventSetup &) override
RetrievePPSAssociationCuts(const edm::ParameterSet &)
ESGetTokenH3DDVariant esConsumes(std::string const &Reccord, edm::ConsumesCollector &)
Definition: DeDxTools.cc:283