ATLAS Offline Software
Loading...
Searching...
No Matches
JetFactory.h File Reference
#include <map>
#include <vector>
#include "xAODJet/JetContainer.h"
#include "xAODJet/JetAuxContainer.h"
#include "xAODCaloEvent/CaloClusterContainer.h"
#include "xAODCaloEvent/CaloClusterAuxContainer.h"
#include "AthLinks/ElementLink.h"
#include "SGTools/TestStore.h"
Include dependency graph for JetFactory.h:

Go to the source code of this file.

Namespaces

namespace  xAOD
 ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
namespace  xAOD::JetTests

Macros

#define SETCLUSTERMOM(E, eta, phi)
#define SETCLUSTERRAWMOM(E, eta, phi)

Functions

template<typename T>
void record xAOD::JetTests::ATLAS_NOT_THREAD_SAFE (T *cont, const std::string &name)
JetContainer *createEmptyJetContainer xAOD::JetTests::ATLAS_NOT_THREAD_SAFE (const std::string &name)
 Create and return an empty JetContainer. JetContainer has an AuxContainer associated and is recorded in an event store so its elements can be used as ElementLink.
void xAOD::JetTests::fillJets (JetContainer &jetCont, const std::vector< xAOD::JetFourMom_t > &jet4moms)
 Fill input JetContainer with new jets which 4-momentum are given by jet4moms.
void xAOD::JetTests::fillJets (JetContainer &jetCont, const std::vector< xAOD::JetFourMom_t > &jet4moms, const std::map< std::string, std::vector< float > > jetAttMap)
 Fill input JetContainer with new jets which 4-momentum are given by jet4moms and with attributes as given by the map "jetAttMap". It is expected that vectors in this map have same lenght as jet4moms.
void xAOD::JetTests::fillStandardTestJets (JetContainer &jetCont)
 Fill input JetContainer with a list of test jets.
void fillStandardTestClusters xAOD::JetTests::ATLAS_NOT_THREAD_SAFE (CaloClusterContainer &clustCont)
 Fill input CaloClusterAuxContainer with a list of test clusters (with only their default and Raw 4-momentum set)

Macro Definition Documentation

◆ SETCLUSTERMOM

#define SETCLUSTERMOM ( E,
eta,
phi )
Value:
cl->setE(E);cl->setEta(eta);cl->setPhi(phi);cl->setM(0)
Scalar eta() const
pseudorapidity method
Scalar phi() const
phi method

◆ SETCLUSTERRAWMOM

#define SETCLUSTERRAWMOM ( E,
eta,
phi )
Value:
cl->setRawE(E);cl->setRawEta(eta);cl->setRawPhi(phi);cl->setRawM(0)