Imperial Analysis
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Consumes.h
Go to the documentation of this file.
1 #ifndef UserCode_ICHiggsTauTau_Consumes_h
2 #define UserCode_ICHiggsTauTau_Consumes_h
3 #include <memory>
4 #include <vector>
5 #include <string>
6 #include "FWCore/Utilities/interface/InputTag.h"
7 
8 //Need this for CMSSW_5_3_X, which doesn't have a consumes method.
9 //In CMSSW 53X it won't actually do anything, except for making sure wwe don't
10 //have to add #if CMSSW_MAJOR_VERSION ... in every single module.
11 #if CMSSW_MAJOR_VERSION < 6
12 template<typename T>
13 void consumes(edm::InputTag const& in){
14 //*omnomnomnom*
15  }
16 
17 //Need this part to be able to use an edm::ConsumesCollector for consumes
18 //calls in helper structs in CMSSW 76X without crashing CMSSW 53X compilation
19 namespace edm{
20 
22 {
23  template<typename T>
24  void consumes(edm::InputTag const& in){
25 }
26  };
27 
28 }
30 #endif
31 #if CMSSW_MAJOR_VERSION >= 6
32 #include "FWCore/Framework/interface/ConsumesCollector.h"
33 #endif
34 #endif
void consumes(edm::InputTag const &in)
Definition: Consumes.h:24
edm::ConsumesCollector consumesCollector()
Definition: Consumes.cc:4
Definition: Consumes.h:19
void consumes(edm::InputTag const &in)
Definition: Consumes.h:13