![]() |
ATLAS Offline Software
|
#include <RingerPreProcessorWrapper.h>
Public Types | |
typedef std::vector< IRingerProcedureWrapper * > | WrapperCollection |
Collection type of PreProcessor Wrappers. More... | |
typedef std::vector< std::vector< std::vector< procedure_t * > > > | PPDepProcCollection |
RingerProcedureWrapper for Threshold procedures typedefs: More... | |
Public Member Functions | |
virtual const char * | name () const final override |
Returns this wrapper name. More... | |
RingerProcedureWrapper (const PPDepProcCollection &ppDepCol) | |
Ctors: More... | |
virtual void | applyPreProcessing (const DepVarStruct &depVar, const xAOD::CaloRings *clrings, const TrackPatternsHolder *trackPat, std::vector< float > &transformVec) const final override |
Main Methods: More... | |
virtual void | applyPreProcessing (const DepVarStruct &depVar, std::vector< float > &transformVec) const final override |
Apply PP to transform input space into a new representation. More... | |
Static Public Member Functions | |
static void | writeCol (const WrapperCollection &ppWrapperCol, TDirectory *configDir) |
Write all wrappers on ppWrapperCol to TDirectory. More... | |
static void | read (WrapperCollection &ppWrapperCol, TDirectory *configDir, unsigned version) |
Read all pre-processing on configDir and append them to IPreProcWrapperCollection. More... | |
Static Public Attributes | |
static constexpr const char * | wrapName = "RingerPreProcessorWrapper" |
Private Member Functions | |
void | checkPPCol () |
Private Methods: More... | |
Private Attributes | |
PPDepProcCollection | m_ppCol |
Private Properties: More... | |
procedure_t * | m_pp |
Hold pointer to the first position on the collection. More... | |
const xAOD::RingSetConf::RawConfCollection * | m_rsRawConfCol |
contains a pointer into the CaloRings configuration: More... | |
unsigned | m_nRings |
contains the total number of rings in the vectorized representation More... | |
virtual void | setRawConfCol (const xAOD::RingSetConf::RawConfCollection *crRawConfCol) final override |
Other utilities. More... | |
virtual void | getRawConfCol (const xAOD::RingSetConf::RawConfCollection *&crRawConfCol) const final override |
Get the holden CaloRings raw configuration collection. More... | |
virtual SegmentationType | getSegType () const final override |
Get segmentation type for this pre-processor. More... | |
virtual bool | empty () const final override |
Returns whether holden interface collection is empty. More... | |
EtaDependency | etaDep () const override final |
Returns eta dependecy for this wrapper. More... | |
EtDependency | etDep () const override final |
Returns et dependecy for this wrapper. More... | |
void | releaseMemory () override final |
Release all holden pointer memory. More... | |
virtual void | setMsgStream (MsgStream *msg) const override final |
Overloads the setMsgStream from RedirectMsgStream. More... | |
std::string | fullName () const override final |
Get full wrapper name. More... | |
void | print (MSG::Level lvl=MSG::DEBUG) const override final |
Print wrapper content. More... | |
void | write (TDirectory *baseDir, const char *idxStr="") const override final |
Write collection to TDirectory. More... | |
static std::string | staticFullName () |
Get full wrapper name, static method. More... | |
static RingerProcedureWrapper * | read (TDirectory *configDir, unsigned version) |
Read collection from TDirectory. More... | |
Definition at line 128 of file RingerPreProcessorWrapper.h.
typedef std::vector< std::vector < std::vector < procedure_t* > > > Ringer::RingerProcedureWrapper< procedure_t, etaDependency, etDependency, segType, true, false, false >::PPDepProcCollection |
RingerProcedureWrapper for Threshold procedures typedefs:
typedef to the Ringer Interface variable dependency collection
Vector Dimension: [segType][etBin][etaBin]:
Definition at line 153 of file RingerPreProcessorWrapper.h.
|
inherited |
Collection type of PreProcessor Wrappers.
Definition at line 35 of file RingerPreProcessorWrapper.h.
|
inline |
|
finaloverridevirtual |
Main Methods:
Apply PP to transform input space into a new representation
This method will pass the information within xAOD::CaloRings and xAOD::TrackParticle to the pre-processors. If any pointer if set to null, then it won't pass this information. Make sure to feed pre-processors with the same information it was adjusted to work with.
Implements Ringer::IRingerProcedureWrapper< PreProcessing::IPreProcessor >.
|
finaloverridevirtual |
Apply PP to transform input space into a new representation.
This method directly uses transformVec as input and transforms it into the new representation.
Implements Ringer::IRingerProcedureWrapper< PreProcessing::IPreProcessor >.
|
private |
Private Methods:
Check if pre-processing interface collection is in good status (Throws otherwise)
|
inlinefinaloverridevirtual |
Returns whether holden interface collection is empty.
Implements Ringer::IRingerProcedureWrapperBase.
Definition at line 237 of file RingerPreProcessorWrapper.h.
|
inlinefinaloverridevirtual |
Returns eta dependecy for this wrapper.
Implements Ringer::IRingerProcedureWrapperBase.
Definition at line 245 of file RingerPreProcessorWrapper.h.
|
inlinefinaloverridevirtual |
Returns et dependecy for this wrapper.
Implements Ringer::IRingerProcedureWrapperBase.
Definition at line 253 of file RingerPreProcessorWrapper.h.
|
finaloverridevirtual |
Get full wrapper name.
Implements Ringer::IRingerProcedureWrapperBase.
|
inlinefinaloverridevirtual |
Get the holden CaloRings raw configuration collection.
Implements Ringer::IRingerProcedureWrapper< PreProcessing::IPreProcessor >.
Definition at line 219 of file RingerPreProcessorWrapper.h.
|
inlinefinaloverridevirtual |
Get segmentation type for this pre-processor.
Implements Ringer::IRingerProcedureWrapper< PreProcessing::IPreProcessor >.
Definition at line 229 of file RingerPreProcessorWrapper.h.
|
inlinefinaloverridevirtualinherited |
Returns this wrapper name.
Implements Ringer::IRingerProcedureWrapperBase.
Definition at line 83 of file RingerPreProcessorWrapper.h.
|
finaloverridevirtual |
Print wrapper content.
Implements Ringer::IRingerProcedureWrapperBase.
|
static |
Read collection from TDirectory.
|
staticinherited |
Read all pre-processing on configDir and append them to IPreProcWrapperCollection.
|
finaloverridevirtual |
Release all holden pointer memory.
Implements Ringer::IRingerProcedureWrapperBase.
|
finaloverridevirtual |
Overloads the setMsgStream from RedirectMsgStream.
|
inlinefinaloverridevirtual |
Other utilities.
Set the holden CaloRings raw configuration collection.
Implements Ringer::IRingerProcedureWrapper< PreProcessing::IPreProcessor >.
Definition at line 209 of file RingerPreProcessorWrapper.h.
|
static |
Get full wrapper name, static method.
|
finaloverridevirtual |
Write collection to TDirectory.
Implements Ringer::IRingerProcedureWrapperBase.
|
staticinherited |
Write all wrappers on ppWrapperCol to TDirectory.
|
private |
contains the total number of rings in the vectorized representation
Definition at line 318 of file RingerPreProcessorWrapper.h.
|
private |
Hold pointer to the first position on the collection.
Definition at line 311 of file RingerPreProcessorWrapper.h.
|
private |
Private Properties:
holden pre-processing collection:
Definition at line 309 of file RingerPreProcessorWrapper.h.
|
private |
contains a pointer into the CaloRings configuration:
Definition at line 315 of file RingerPreProcessorWrapper.h.
|
staticconstexprinherited |
Definition at line 101 of file RingerPreProcessorWrapper.h.