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

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)

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)

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

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)

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

Definition at line 16 of file HelperMacros.h.

EVENTSETUP_RECORD_REG
#define EVENTSETUP_RECORD_REG(_recordclassname_)
Definition: eventsetuprecord_registration_macro.h:39
mva2
Definition: TtFullHadSignalSelMVAComputer.cc:58
N
#define N
Definition: blowfish.cc:9
PhysicsTools::Calibration::MVAComputer
Definition: MVAComputer.h:221
mva3
Definition: TtFullHadSignalSelMVAComputer.cc:58
T
long double T
Definition: Basic3DVectorLD.h:48
PhysicsTools::Calibration::MVAComputerContainer
Definition: MVAComputer.h:250
MVA_COMPUTER_CONTAINER_RECORD_IMPLEMENT
#define MVA_COMPUTER_CONTAINER_RECORD_IMPLEMENT(T)
Definition: HelperMacros.h:38
P
std::pair< OmniClusterRef, TrackingParticleRef > P
Definition: BDHadronTrackMonitoringAnalyzer.cc:203
INSTANTIATE_PROXY
#define INSTANTIATE_PROXY(record_, type_)
Definition: registration_macros.h:30