Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 13:28:29

0001 #ifndef Integration_OtherThingAlgorithm_h
0002 #define Integration_OtherThingAlgorithm_h
0003 
0004 #include <string>
0005 #include "DataFormats/TestObjects/interface/OtherThingCollectionfwd.h"
0006 #include "DataFormats/TestObjects/interface/ThingCollectionfwd.h"
0007 #include "FWCore/Framework/interface/Frameworkfwd.h"
0008 #include "FWCore/Utilities/interface/EDGetToken.h"
0009 
0010 namespace edmtest {
0011 
0012   class OtherThingAlgorithm {
0013   public:
0014     OtherThingAlgorithm() : theDebugLevel(0) {}
0015 
0016     /// Runs the algorithm and returns a list of OtherThings
0017     /// The user declares the vector and calls this method.
0018     void run(edm::Handle<ThingCollection> const& iThingHandle,
0019              OtherThingCollection& otherThingCollection,
0020              bool useRefs = true,
0021              bool refsAreTransient = false) const;
0022 
0023   private:
0024     int theDebugLevel;
0025   };
0026 
0027 }  // namespace edmtest
0028 
0029 #endif