CMS 3D CMS Logo

Macros
HelperMacros.h File Reference
#include "FWCore/Framework/interface/SourceFactory.h"
#include "FWCore/Framework/interface/EventSetupRecordImplementation.h"
#include "FWCore/Framework/interface/eventsetuprecord_registration_macro.h"
#include "CondFormats/PhysicsToolsObjects/interface/MVAComputer.h"
#include "CondCore/ESSources/interface/registration_macros.h"
#include "PhysicsTools/MVAComputer/interface/MVAComputerESSourceImpl.h"

Go to the source code of this file.

Macros

#define MVA_COMPUTER_CONTAINER_DEFINE(N)   MVA_COMPUTER_CONTAINER_RECORD_DEFINE(N##Rcd)
 
#define MVA_COMPUTER_CONTAINER_FILE_SOURCE_IMPLEMENT(T, P)
 
#define MVA_COMPUTER_CONTAINER_IMPLEMENT(N)
 
#define MVA_COMPUTER_CONTAINER_RECORD_DEFINE(T)   MVA_COMPUTER_RECORD_DEFINE(T)
 
#define MVA_COMPUTER_CONTAINER_RECORD_IMPLEMENT(T)
 
#define MVA_COMPUTER_CONTAINER_RECORD_PLUGIN(T)
 
#define MVA_COMPUTER_RECORD_DEFINE(T)   class T : public edm::eventsetup::EventSetupRecordImplementation<T> {}
 
#define MVA_COMPUTER_RECORD_IMPLEMENT(T)
 
#define MVA_COMPUTER_RECORD_PLUGIN(T)
 

Macro Definition Documentation

◆ MVA_COMPUTER_CONTAINER_DEFINE

#define MVA_COMPUTER_CONTAINER_DEFINE (   N)    MVA_COMPUTER_CONTAINER_RECORD_DEFINE(N##Rcd)

Definition at line 51 of file HelperMacros.h.

◆ MVA_COMPUTER_CONTAINER_FILE_SOURCE_IMPLEMENT

#define MVA_COMPUTER_CONTAINER_FILE_SOURCE_IMPLEMENT (   T,
  P 
)
Value:
namespace { \
namespace mva3 { \
typedef ::PhysicsTools::MVAComputerESSourceImpl<T> P; \
DEFINE_FWK_EVENTSETUP_SOURCE(P); \
} \
} \
typedef int mvaDummyTypedef3##T
std::pair< OmniClusterRef, TrackingParticleRef > P
long double T

Definition at line 42 of file HelperMacros.h.

◆ MVA_COMPUTER_CONTAINER_IMPLEMENT

#define MVA_COMPUTER_CONTAINER_IMPLEMENT (   N)
Value:
MVA_COMPUTER_CONTAINER_FILE_SOURCE_IMPLEMENT(N##Rcd, N##FileSource)
#define N
Definition: blowfish.cc:9
#define MVA_COMPUTER_CONTAINER_RECORD_IMPLEMENT(T)
Definition: HelperMacros.h:38

Definition at line 53 of file HelperMacros.h.

◆ MVA_COMPUTER_CONTAINER_RECORD_DEFINE

#define MVA_COMPUTER_CONTAINER_RECORD_DEFINE (   T)    MVA_COMPUTER_RECORD_DEFINE(T)

Definition at line 14 of file HelperMacros.h.

◆ MVA_COMPUTER_CONTAINER_RECORD_IMPLEMENT

#define MVA_COMPUTER_CONTAINER_RECORD_IMPLEMENT (   T)
Value:
MVA_COMPUTER_CONTAINER_RECORD_PLUGIN(T)
#define EVENTSETUP_RECORD_REG(_recordclassname_)
long double T

Definition at line 38 of file HelperMacros.h.

◆ MVA_COMPUTER_CONTAINER_RECORD_PLUGIN

#define MVA_COMPUTER_CONTAINER_RECORD_PLUGIN (   T)
Value:
namespace { \
namespace mva2 { \
} \
} \
typedef int mvaDummyTypedef2##T
#define INSTANTIATE_PROXY(record_, type_)
long double T

Definition at line 29 of file HelperMacros.h.

◆ MVA_COMPUTER_RECORD_DEFINE

#define MVA_COMPUTER_RECORD_DEFINE (   T)    class T : public edm::eventsetup::EventSetupRecordImplementation<T> {}

Definition at line 11 of file HelperMacros.h.

◆ MVA_COMPUTER_RECORD_IMPLEMENT

#define MVA_COMPUTER_RECORD_IMPLEMENT (   T)
Value:
MVA_COMPUTER_RECORD_PLUGIN(T)
#define EVENTSETUP_RECORD_REG(_recordclassname_)
long double T

Definition at line 25 of file HelperMacros.h.

◆ MVA_COMPUTER_RECORD_PLUGIN

#define MVA_COMPUTER_RECORD_PLUGIN (   T)
Value:
namespace { \
namespace mva1 { \
ONLY_REGISTER_PLUGIN(T, PhysicsTools::Calibration::MVAComputer); \
} \
} \
typedef int mvaDummyTypedef1##T
#define INSTANTIATE_PROXY(record_, type_)
long double T

Definition at line 16 of file HelperMacros.h.