|
ATLAS Offline Software
|
Tool to dump jets to the log.
More...
#include <JetDumper.h>
|
| JetDumper (const std::string &myname) |
|
template<typename T > |
int | dump_object (const T *pjet, const std::string &objtypename="Unknown") const |
|
template<typename TList > |
int | dump_collection (const TList *pjets, const std::string &objtypename="Unknown") const |
|
int | execute () const |
| Method to be called for each event. More...
|
|
void | print () const |
| Print the state of the tool. More...
|
|
virtual int | inputContainerNames (std::vector< std::string > &connames) |
| Method to return the list of input containers. More...
|
|
virtual int | outputContainerNames (std::vector< std::string > &connames) |
| Method to return the list of output containers. More...
|
|
virtual StatusCode | initialize () |
| Dummy implementation of the initialisation function. More...
|
|
ServiceHandle< StoreGateSvc > & | evtStore () |
| The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc . More...
|
|
const ServiceHandle< StoreGateSvc > & | evtStore () const |
| The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc . More...
|
|
const ServiceHandle< StoreGateSvc > & | detStore () const |
| The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc . More...
|
|
virtual StatusCode | sysInitialize () override |
| Perform system initialization for an algorithm. More...
|
|
virtual StatusCode | sysStart () override |
| Handle START transition. More...
|
|
virtual std::vector< Gaudi::DataHandle * > | inputHandles () const override |
| Return this algorithm's input handles. More...
|
|
virtual std::vector< Gaudi::DataHandle * > | outputHandles () const override |
| Return this algorithm's output handles. More...
|
|
Gaudi::Details::PropertyBase & | declareProperty (Gaudi::Property< T > &t) |
|
Gaudi::Details::PropertyBase * | declareProperty (const std::string &name, SG::VarHandleKey &hndl, const std::string &doc, const SG::VarHandleKeyType &) |
| Declare a new Gaudi property. More...
|
|
Gaudi::Details::PropertyBase * | declareProperty (const std::string &name, SG::VarHandleBase &hndl, const std::string &doc, const SG::VarHandleType &) |
| Declare a new Gaudi property. More...
|
|
Gaudi::Details::PropertyBase * | declareProperty (const std::string &name, SG::VarHandleKeyArray &hndArr, const std::string &doc, const SG::VarHandleKeyArrayType &) |
|
Gaudi::Details::PropertyBase * | declareProperty (const std::string &name, T &property, const std::string &doc, const SG::NotHandleType &) |
| Declare a new Gaudi property. More...
|
|
Gaudi::Details::PropertyBase * | declareProperty (const std::string &name, T &property, const std::string &doc="none") |
| Declare a new Gaudi property. More...
|
|
void | updateVHKA (Gaudi::Details::PropertyBase &) |
|
MsgStream & | msg () const |
|
MsgStream & | msg (const MSG::Level lvl) const |
|
bool | msgLvl (const MSG::Level lvl) const |
|
|
template<typename T > |
std::string | object_label (const T *pjet, const std::string &label) const |
|
std::string | object_label (const fastjet::PseudoJet &jet, const std::string &label) const |
|
template<typename T > |
int | dump_object_after_prefix (const T *pjet, const std::string &objtypename) const |
|
int | dump_object_after_prefix (const fastjet::PseudoJet &jet, const std::string &objtypename) const |
|
int | dump_object_after_prefix (const xAOD::MuonSegment *seg, const std::string &objtypename) const |
|
template<typename TObj , typename TMom > |
void | get_moment (TObj *pobj, std::string name, TMom &val) const |
|
template<typename TObj > |
void | get_moment (TObj *pobj, std::string name, FourVector &val) const |
|
template<typename TObj > |
void | get_moment (TObj *pobj, std::string name, std::string &val) const |
|
template<typename TObj > |
void | get_moment (TObj *pobj, std::string name, std::vector< int > &) const |
|
template<typename TObj > |
void | get_moment (TObj *pobj, std::string name, std::vector< float > &) const |
|
template<typename TMom > |
void | get_moment (const xAOD::Jet *pobj, std::string name, TMom &val) const |
|
void | get_moment (const xAOD::Jet *pobj, const std::string &name, FourVector &val) const |
|
void | get_moment (const xAOD::Jet *pobj, const std::string &name, std::string &val) const |
|
void | get_moment (const xAOD::Jet *pobj, const std::string &name, std::vector< int > &vals) const |
|
void | get_moment (const xAOD::Jet *pobj, const std::string &name, std::vector< float > &vals) const |
|
template<typename TObj > |
std::string | get_moment_as_string (const TObj &obj, std::string name) const |
|
std::string | get_moment_as_string (const xAOD::Jet *pobj, const std::string &name) const |
|
template<typename TObj > |
void | getAssociatedParticles (TObj *pobj, std::string name, APVector &val) const |
|
void | getAssociatedParticles (const xAOD::Jet *pobj, const std::string &name, APVector &val) const |
|
template<typename TObj > |
void | getAssociatedLinks (TObj *pobj, std::string name, APELVector &val) const |
|
void | getAssociatedLinks (const xAOD::Jet *pobj, const std::string &name, APELVector &val) const |
|
template<typename TObj > |
void | getAssociatedParticles (TObj *pobj, std::string name, MSVector &val) const |
|
void | getAssociatedParticles (const xAOD::Jet *pobj, const std::string &name, MSVector &val) const |
|
template<typename TObj > |
void | getAssociatedLinks (TObj *pobj, std::string name, MSELVector &val) const |
|
void | getAssociatedLinks (const xAOD::Jet *pobj, const std::string &name, MSELVector &val) const |
|
template<typename T > |
void | extra_info (const T *, std::ostream &out, int) const |
|
void | extra_info (const xAOD::Jet *pjet, std::ostream &out, int iopt) const |
|
void | extra_info (const fastjet::PseudoJet *ppsj, std::ostream &out, int linedetail) const |
|
Gaudi::Details::PropertyBase & | declareGaudiProperty (Gaudi::Property< T > &hndl, const SG::VarHandleKeyType &) |
| specialization for handling Gaudi::Property<SG::VarHandleKey> More...
|
|
Gaudi::Details::PropertyBase & | declareGaudiProperty (Gaudi::Property< T > &hndl, const SG::VarHandleKeyArrayType &) |
| specialization for handling Gaudi::Property<SG::VarHandleKeyArray> More...
|
|
Gaudi::Details::PropertyBase & | declareGaudiProperty (Gaudi::Property< T > &hndl, const SG::VarHandleType &) |
| specialization for handling Gaudi::Property<SG::VarHandleBase> More...
|
|
Gaudi::Details::PropertyBase & | declareGaudiProperty (Gaudi::Property< T > &t, const SG::NotHandleType &) |
| specialization for handling everything that's not a Gaudi::Property<SG::VarHandleKey> or a <SG::VarHandleKeyArray> More...
|
|
Tool to dump jets to the log.
Tool properties: ContainerName: Name of the container to be dumped Detail: 0 for container info, 1 for one line per object, 2 for object properties LineDetail: 0 for object index, 2 for kinematics, 2 for more Prefix: 0 for no prefix, 1 for type, 2 for container, 3 for type+contaienr MaxObject: Maximum number of objects for which detail is shown FloatMax: Above this value, floats are displayed in scientific notation. FloatMoments: Names of the float moments to display IntMoments: Names of the integer moments to display BoolMoments: Names of the bool moments to display CBoolMoments: Names of the bool moments storaed as char to display StringMoments: Names of the string moments to display FourVectorMoments: Names of the four-vector moments to display ElementLinkMoments: Names of the element link moments to display IntVectorMoments: Names of the int vector moments to display FloatVectorMoments: Names of the float vector moments to display AssociatedParticleVectors: Names of the associated object vectors to display
Definition at line 53 of file JetDumper.h.
◆ APEL
◆ APELVector
◆ APVector
◆ FourVector
◆ MSEL
◆ MSELVector
◆ MSVector
◆ Name
◆ NameList
◆ StoreGateSvc_t
◆ JetDumper()
JetDumper::JetDumper |
( |
const std::string & |
myname | ) |
|
◆ declareGaudiProperty() [1/4]
specialization for handling Gaudi::Property<SG::VarHandleKeyArray>
Definition at line 170 of file AthCommonDataStore.h.
175 hndl.documentation());
◆ declareGaudiProperty() [2/4]
specialization for handling Gaudi::Property<SG::VarHandleKey>
Definition at line 156 of file AthCommonDataStore.h.
161 hndl.documentation());
◆ declareGaudiProperty() [3/4]
specialization for handling Gaudi::Property<SG::VarHandleBase>
Definition at line 184 of file AthCommonDataStore.h.
189 hndl.documentation());
◆ declareGaudiProperty() [4/4]
◆ declareProperty() [1/6]
Declare a new Gaudi property.
- Parameters
-
name | Name of the property. |
hndl | Object holding the property value. |
doc | Documentation string for the property. |
This is the version for types that derive from SG::VarHandleBase
. The property value object is put on the input and output lists as appropriate; then we forward to the base class.
Definition at line 245 of file AthCommonDataStore.h.
250 this->declare(hndl.
vhKey());
251 hndl.
vhKey().setOwner(
this);
253 return PBASE::declareProperty(
name,hndl,
doc);
◆ declareProperty() [2/6]
Declare a new Gaudi property.
- Parameters
-
name | Name of the property. |
hndl | Object holding the property value. |
doc | Documentation string for the property. |
This is the version for types that derive from SG::VarHandleKey
. The property value object is put on the input and output lists as appropriate; then we forward to the base class.
Definition at line 221 of file AthCommonDataStore.h.
229 return PBASE::declareProperty(
name,hndl,
doc);
◆ declareProperty() [3/6]
◆ declareProperty() [4/6]
Declare a new Gaudi property.
- Parameters
-
name | Name of the property. |
property | Object holding the property value. |
doc | Documentation string for the property. |
This is the generic version, for types that do not derive from SG::VarHandleKey
. It just forwards to the base class version of declareProperty
.
Definition at line 333 of file AthCommonDataStore.h.
338 return PBASE::declareProperty(
name, property,
doc);
◆ declareProperty() [5/6]
Declare a new Gaudi property.
- Parameters
-
name | Name of the property. |
property | Object holding the property value. |
doc | Documentation string for the property. |
This dispatches to either the generic declareProperty
or the one for VarHandle/Key/KeyArray.
Definition at line 352 of file AthCommonDataStore.h.
◆ declareProperty() [6/6]
◆ detStore()
◆ dump_collection()
template<typename TList >
int JetDumper::dump_collection |
( |
const TList * |
pjets, |
|
|
const std::string & |
objtypename = "Unknown" |
|
) |
| const |
Definition at line 369 of file JetDumper.h.
370 int njet = pjets->size();
372 std::string
line =
"-------------------------------------------------------------------------";
375 unsigned int njetshow = njet;
377 typename TList::const_iterator itjet = pjets->begin();
379 std::vector<std::string> labs;
380 unsigned int wlab = 0;
381 for (
unsigned int ijet=0; ijet<njetshow; ++ijet ) {
382 TValue pjet = *itjet++;
385 if ( lab.size() > wlab ) wlab = lab.size();
387 itjet = pjets->begin();
389 if ( njetshow > 10 ) widx = 2;
390 if ( njetshow > 100 ) widx = 3;
391 if ( njetshow > 1000 ) widx = 4;
392 for (
unsigned int ijet=0; ijet<njetshow; ++ijet ) {
393 TValue pjet = *itjet++;
396 msg() << MSG::INFO <<
" ";
398 msg() << std::setw(wlab) << labs[ijet] <<
" ";
401 msg() << std::setw(widx) << ijet;
404 msg() <<
"[" << std::setw(widx) << ijet <<
"]";
◆ dump_object()
template<typename T >
int JetDumper::dump_object |
( |
const T * |
pjet, |
|
|
const std::string & |
objtypename = "Unknown" |
|
) |
| const |
Definition at line 177 of file JetDumper.h.
178 msg() << MSG::INFO << objtypename <<
" ";
◆ dump_object_after_prefix() [1/3]
int JetDumper::dump_object_after_prefix |
( |
const fastjet::PseudoJet & |
jet, |
|
|
const std::string & |
objtypename |
|
) |
| const |
|
private |
Definition at line 122 of file JetDumper.cxx.
123 const double mevtogev = 0.001;
125 std::ostringstream ssjetline;
126 double px = mevtogev*
jet.px();
127 double py = mevtogev*
jet.py();
130 ssjetline <<
"pT =" << std::setw(6) << std::fixed << std::setprecision(1) <<
pt <<
" GeV";
131 ssjetline <<
", m =" << std::setw(6) << std::fixed << std::setprecision(1)
132 << mevtogev*
jet.m() <<
" GeV";
133 ssjetline <<
", eta =" << std::setw(5) << std::fixed << std::setprecision(2) <<
jet.eta();
134 ssjetline <<
", phi =" << std::setw(5) << std::fixed << std::setprecision(2) <<
jet.phi();
◆ dump_object_after_prefix() [2/3]
template<typename T >
int JetDumper::dump_object_after_prefix |
( |
const T * |
pjet, |
|
|
const std::string & |
objtypename |
|
) |
| const |
|
private |
Definition at line 183 of file JetDumper.h.
184 const double mevtogev = 0.001;
185 const int wname = 30;
192 std::ostringstream ssjetline;
194 ssjetline <<
"pT =" << std::setw(6) << std::fixed << std::setprecision(1) << mevtogev*pjet->pt() <<
" GeV";
195 ssjetline <<
", m =" << std::setw(6) << std::fixed << std::setprecision(1) << mevtogev*pjet->m() <<
" GeV";
196 ssjetline <<
", eta =" << std::setw(5) << std::fixed << std::setprecision(2) << pjet->eta();
197 ssjetline <<
", phi =" << std::setw(5) << std::fixed << std::setprecision(2) << pjet->phi();
213 if ( fnames.size() == 0 ) fnames = get_moment_keys<T,float>(pjet);
214 ATH_MSG_INFO(
" " << objtypename <<
" has " << fnames.size() <<
" float attributes:");
215 for ( NameList::const_iterator inam=fnames.begin(); inam!=fnames.end(); ++inam ) {
220 ATH_MSG_INFO(std::setw(wname) <<
name <<
":" << std::setw(16) << std::scientific << std::setprecision(3) <<
val);
222 ATH_MSG_INFO(std::setw(wname) <<
name <<
":" << std::setw(12) << std::fixed << std::setprecision(3) <<
val);
225 if ( inames.size() == 0 ) inames = get_moment_keys<T,int>(pjet);
226 ATH_MSG_INFO(
" " << objtypename <<
" has " << inames.size() <<
" int attributes:");
227 for ( NameList::const_iterator inam=inames.begin(); inam!=inames.end(); ++inam ) {
231 ATH_MSG_INFO(std::setw(wname) <<
name <<
":" << std::setw(12) << std::fixed << std::setprecision(3) <<
ival);
233 if ( bnames.size() == 0 ) bnames = get_moment_keys<T,int>(pjet);
234 ATH_MSG_INFO(
" " << objtypename <<
" has " << bnames.size() <<
" bool attributes:");
235 for ( NameList::const_iterator inam=bnames.begin(); inam!=bnames.end(); ++inam ) {
239 std::string sval =
val ?
"true" :
"false";
242 if ( cbnames.size() == 0 ) cbnames = get_moment_keys<T,int>(pjet);
243 ATH_MSG_INFO(
" " << objtypename <<
" has " << cbnames.size() <<
" cbool attributes:");
244 for ( NameList::const_iterator inam=cbnames.begin(); inam!=cbnames.end(); ++inam ) {
248 std::string sval =
val ?
"true" :
"false";
251 ATH_MSG_INFO(
" " << objtypename <<
" has " << snames.size() <<
" string attributes:");
252 for ( NameList::const_iterator inam=snames.begin(); inam!=snames.end(); ++inam ) {
258 ATH_MSG_INFO(
" " << objtypename <<
" has " << vinames.size() <<
" vector<int> attributes:");
259 for ( NameList::const_iterator inam=vinames.begin(); inam!=vinames.end(); ++inam ) {
261 std::vector<int>
vals;
263 if (
vals.size() == 0 ) {
267 if (
vals.size() > 10 ) widx = 2;
274 ATH_MSG_INFO(
" " << objtypename <<
" has " << vfnames.size() <<
" vector<float> attributes:");
275 for ( NameList::const_iterator inam=vfnames.begin(); inam!=vfnames.end(); ++inam ) {
277 std::vector<float>
vals;
279 if (
vals.size() == 0 ) {
283 if (
vals.size() > 10 ) widx = 2;
286 << std::setw(12) << std::fixed << std::setprecision(3) <<
vals[
ival]);
290 ATH_MSG_INFO(
" " << objtypename <<
" has " << apnames.size() <<
" associated particle vectors:");
291 for ( NameList::const_iterator inam=apnames.begin(); inam!=apnames.end(); ++inam ) {
293 if (
name.find(
"MuonSegment") != std::string::npos ) {
298 std::string slab =
"entries";
299 if (
vals.size() == 1 ) slab =
"entry";
300 if (
vals.size() > 0 ) slab +=
":";
302 if ( els.size() ==
vals.size() ) {
303 for (
const MSEL&
el : els) {
304 ATH_MSG_INFO(std::setw(wname+2) <<
"" <<
el.dataID() <<
"[" <<
el.index() <<
"]");
307 for (
auto ppar :
vals) {
308 ATH_MSG_INFO(std::setw(wname+2) <<
"" << ppar->container() <<
"[" << ppar->index() <<
"]");
316 std::string slab =
"entries";
317 if (
vals.size() == 1 ) slab =
"entry";
318 if (
vals.size() > 0 ) slab +=
":";
321 if ( els.size() ==
vals.size() ) {
322 for (
const APEL&
el : els) {
323 ATH_MSG_INFO(std::setw(wname+2) <<
"" <<
el.dataID() <<
"[" <<
el.index() <<
"]");
326 for (
auto ppar :
vals) {
327 ATH_MSG_INFO(std::setw(wname+2) <<
"" << ppar->container() <<
"[" << ppar->index() <<
"]");
332 if ( fvnames.size() == 0 ) fvnames = get_moment_keys<T,float>(pjet);
333 ATH_MSG_INFO(
" " << objtypename <<
" has " << fvnames.size() <<
" four-vector attributes (pT m eta phi):");
334 for ( NameList::const_iterator inam=fvnames.begin(); inam!=fvnames.end(); ++inam ) {
339 << std::setw(12) << std::fixed << std::setprecision(3) <<
val.Pt()
340 << std::setw(12) << std::fixed << std::setprecision(3) <<
val.M()
341 << std::setw(12) << std::fixed << std::setprecision(3) <<
val.Eta()
342 << std::setw(12) << std::fixed << std::setprecision(3) <<
val.Phi()
345 ATH_MSG_INFO(
" " << objtypename <<
" has " << elnames.size() <<
" element-link attributes:");
346 for ( NameList::const_iterator inam=elnames.begin(); inam!=elnames.end(); ++inam ) {
347 std::string
name = *inam;
◆ dump_object_after_prefix() [3/3]
Definition at line 143 of file JetDumper.cxx.
144 if ( pseg ==
nullptr )
return 1;
146 const double mmtom = 0.001;
148 std::ostringstream ssline;
149 double x = mmtom*seg.
x();
150 double y = mmtom*seg.
y();
151 double z = mmtom*seg.
z();
152 double r = sqrt(
x*
x+
y*
y);
153 double phi = atan2(
y,
x);
154 ssline <<
"r =" << std::setw(7) << std::fixed << std::setprecision(2) <<
r <<
" m";
155 ssline <<
", z =" << std::setw(7) << std::fixed << std::setprecision(2) <<
z <<
" m";
156 ssline <<
", phi =" << std::setw(7) << std::fixed << std::setprecision(2) <<
phi;
◆ evtStore() [1/2]
◆ evtStore() [2/2]
◆ execute()
int JetDumper::execute |
( |
| ) |
const |
|
virtual |
Method to be called for each event.
Returns 0 for success.
Implements IJetExecuteTool.
Definition at line 63 of file JetDumper.cxx.
69 if ( !
sc.isFailure() && pobjs !=
nullptr )
return dump_collection(pobjs,
"Pseudojet");
70 }
else if (
evtStore()->contains<xAOD::CaloClusterContainer>(
m_cname) ) {
80 if ( pobjs !=
nullptr ) {
86 }
else if (
evtStore()->contains<xAOD::MuonSegmentContainer>(
m_cname) ) {
◆ extra_info() [1/3]
void JetDumper::extra_info |
( |
const fastjet::PseudoJet * |
ppsj, |
|
|
std::ostream & |
out, |
|
|
int |
linedetail |
|
) |
| const |
|
private |
Definition at line 275 of file JetDumper.cxx.
276 if ( ppsj ==
nullptr ) {
277 out <<
", Null pseudojet";
280 const fastjet::PseudoJet& psj = *ppsj;
281 if ( psj.has_user_info() ) {
283 if ( linedetail > 1 ) {
285 if ( linedetail > 2 ) {
287 if ( pip ==
nullptr ) {
288 out <<
", Associated particle is null";
291 if ( linedetail > 3 )
out <<
", IParticle @ " << pip;
297 out <<
", No user info";
◆ extra_info() [2/3]
template<typename T >
void JetDumper::extra_info |
( |
const T * |
, |
|
|
std::ostream & |
out, |
|
|
int |
|
|
) |
| const |
|
private |
◆ extra_info() [3/3]
void JetDumper::extra_info |
( |
const xAOD::Jet * |
pjet, |
|
|
std::ostream & |
out, |
|
|
int |
iopt |
|
) |
| const |
|
private |
Definition at line 252 of file JetDumper.cxx.
255 out <<
", ncon = " << ncon;
260 string lab =
", size/ncon=";
261 out << lab << scon <<
"/" << ncon;
265 if ( ppj ==
nullptr ) {
266 out <<
", No pseudojet";
268 out <<
", npjcon=" << ppj->constituents().size();
◆ extraDeps_update_handler()
Add StoreName to extra input/output deps as needed.
use the logic of the VarHandleKey to parse the DataObjID keys supplied via the ExtraInputs and ExtraOuputs Properties to add the StoreName if it's not explicitly given
◆ get_moment() [1/10]
◆ get_moment() [2/10]
void JetDumper::get_moment |
( |
const xAOD::Jet * |
pobj, |
|
|
const std::string & |
name, |
|
|
std::string & |
val |
|
) |
| const |
|
private |
◆ get_moment() [3/10]
void JetDumper::get_moment |
( |
const xAOD::Jet * |
pobj, |
|
|
const std::string & |
name, |
|
|
std::vector< float > & |
vals |
|
) |
| const |
|
private |
◆ get_moment() [4/10]
void JetDumper::get_moment |
( |
const xAOD::Jet * |
pobj, |
|
|
const std::string & |
name, |
|
|
std::vector< int > & |
vals |
|
) |
| const |
|
private |
◆ get_moment() [5/10]
template<typename TMom >
void JetDumper::get_moment |
( |
const xAOD::Jet * |
pobj, |
|
|
std::string |
name, |
|
|
TMom & |
val |
|
) |
| const |
|
private |
◆ get_moment() [6/10]
template<typename TObj >
void JetDumper::get_moment |
( |
TObj * |
pobj, |
|
|
std::string |
name, |
|
|
FourVector & |
val |
|
) |
| const |
|
private |
◆ get_moment() [7/10]
template<typename TObj >
void JetDumper::get_moment |
( |
TObj * |
pobj, |
|
|
std::string |
name, |
|
|
std::string & |
val |
|
) |
| const |
|
private |
◆ get_moment() [8/10]
template<typename TObj >
void JetDumper::get_moment |
( |
TObj * |
pobj, |
|
|
std::string |
name, |
|
|
std::vector< float > & |
val |
|
) |
| const |
|
private |
◆ get_moment() [9/10]
template<typename TObj >
void JetDumper::get_moment |
( |
TObj * |
pobj, |
|
|
std::string |
name, |
|
|
std::vector< int > & |
val |
|
) |
| const |
|
private |
◆ get_moment() [10/10]
template<typename TObj , typename TMom >
void JetDumper::get_moment |
( |
TObj * |
pobj, |
|
|
std::string |
name, |
|
|
TMom & |
val |
|
) |
| const |
|
private |
◆ get_moment_as_string() [1/2]
template<typename TObj >
std::string JetDumper::get_moment_as_string |
( |
const TObj & |
obj, |
|
|
std::string |
name |
|
) |
| const |
|
private |
◆ get_moment_as_string() [2/2]
std::string JetDumper::get_moment_as_string |
( |
const xAOD::Jet * |
pobj, |
|
|
const std::string & |
name |
|
) |
| const |
|
private |
Definition at line 222 of file JetDumper.cxx.
223 std::ostringstream sout;
228 if ( pjet->getAttribute(
name, eljet) ) {
229 sout <<
"Jet " << eljet.
dataID() <<
"[" << eljet.
index() <<
"]";
235 if ( pjet->getAttribute(
name, elvtx) ) {
236 sout <<
"Vertex " << elvtx.
dataID() <<
"[" << elvtx.
index() <<
"]";
242 if ( pjet->getAttribute(
name, elobj) ) {
243 sout <<
"IParticle " << elobj.
dataID() <<
"[" << elobj.
index() <<
"]";
247 return "Not a known element link.";
◆ getAssociatedLinks() [1/4]
◆ getAssociatedLinks() [2/4]
◆ getAssociatedLinks() [3/4]
template<typename TObj >
void JetDumper::getAssociatedLinks |
( |
TObj * |
pobj, |
|
|
std::string |
name, |
|
|
APELVector & |
val |
|
) |
| const |
|
private |
◆ getAssociatedLinks() [4/4]
template<typename TObj >
void JetDumper::getAssociatedLinks |
( |
TObj * |
pobj, |
|
|
std::string |
name, |
|
|
MSELVector & |
val |
|
) |
| const |
|
private |
◆ getAssociatedParticles() [1/4]
◆ getAssociatedParticles() [2/4]
◆ getAssociatedParticles() [3/4]
template<typename TObj >
void JetDumper::getAssociatedParticles |
( |
TObj * |
pobj, |
|
|
std::string |
name, |
|
|
APVector & |
val |
|
) |
| const |
|
private |
◆ getAssociatedParticles() [4/4]
template<typename TObj >
void JetDumper::getAssociatedParticles |
( |
TObj * |
pobj, |
|
|
std::string |
name, |
|
|
MSVector & |
val |
|
) |
| const |
|
private |
◆ getKey()
Get the (hashed) key of an object that is in the event store.
This is a bit of a special one. StoreGateSvc
and xAOD::TEvent
both provide ways for getting the SG::sgkey_t
key for an object that is in the store, based on a bare pointer. But they provide different interfaces for doing so.
In order to allow tools to efficiently perform this operation, they can use this helper function.
- See also
- asg::AsgTool::getName
- Parameters
-
ptr | The bare pointer to the object that the event store should know about |
- Returns
- The hashed key of the object in the store. If not found, an invalid (zero) key.
Definition at line 119 of file AsgTool.cxx.
121 #ifdef XAOD_STANDALONE
127 return (
proxy ==
nullptr ? 0 :
proxy->sgkey() );
128 #endif // XAOD_STANDALONE
◆ getName()
const std::string & asg::AsgTool::getName |
( |
const void * |
ptr | ) |
const |
|
inherited |
Get the name of an object that is / should be in the event store.
This is a bit of a special one. StoreGateSvc
and xAOD::TEvent
both provide ways for getting the std::string
name for an object that is in the store, based on a bare pointer. But they provide different interfaces for doing so.
In order to allow tools to efficiently perform this operation, they can use this helper function.
- See also
- asg::AsgTool::getKey
- Parameters
-
ptr | The bare pointer to the object that the event store should know about |
- Returns
- The string name of the object in the store. If not found, an empty string.
Definition at line 106 of file AsgTool.cxx.
108 #ifdef XAOD_STANDALONE
114 static const std::string
dummy =
"";
116 #endif // XAOD_STANDALONE
◆ getProperty()
template<class T >
const T* asg::AsgTool::getProperty |
( |
const std::string & |
name | ) |
const |
|
inherited |
Get one of the tool's properties.
◆ initialize()
virtual StatusCode asg::AsgTool::initialize |
( |
| ) |
|
|
inlinevirtualinherited |
Dummy implementation of the initialisation function.
It's here to allow the dual-use tools to skip defining an initialisation function. Since many are doing so...
Reimplemented in SimpleMuonTriggerScaleFactors, Trig::TrigMuonMatching, CP::MuonTriggerScaleFactors, IHIEventShapeMapTool, ST::SUSYObjDef_xAOD, InDetSecVtxTruthMatchTool, JetGrooming::RecSoftDrop, met::METMaker, AsgForwardElectronIsEMSelector, JetGrooming::JetTrimming, ORUtils::BaseOverlapTool, PMGTools::PMGSherpa22VJetsWeightTool, AsgElectronEfficiencyCorrectionTool, CP::ElectronChargeEfficiencyCorrectionTool, AsgForwardElectronLikelihoodTool, CorrectPFOTool, CP::IsolationCorrectionTool, TauAnalysisTools::TauTruthMatchingTool, EGammaAmbiguityTool, InDetVertexTruthMatchTool, AthOnnx::OnnxRuntimeSessionToolCPU, AthOnnx::OnnxRuntimeSessionToolCUDA, PuppiWeightTool, CP::EgammaCalibrationAndSmearingTool, CP::FFJetSmearingTool, JetBalancePFlowJvtTool, JetIsolationTool, JetForwardPFlowJvtTool, MCTruthClassifier, InDet::InDetHardScatterSelectionTool, dRMatchingTool, xAOD::BPhysBlindingTool, JetVertexTaggerTool, tauRecTools::TrackRNN, LVL1::L1CaloOfflineTriggerTowerTools, TauAnalysisTools::TauSelectionTool, JetRecTool, met::METAssociationTool, CP::TrackVertexAssociationTool, met::METRebuilder, met::METAssociator, xAOD::TrackIsolationTool, InDet::InDetTrackSelectionTool, egammaMVACalibTool, TrigConf::xAODConfigTool, JetCleaningTool, met::METCaloRegionsTool, ZDC::ZdcLEDAnalysisTool, CP::MuonCalibTool, LVL1::L1CaloCells2TriggerTowers, IDTPM::TrackAnalysisInfoWriteTool, JetVertexFractionTool, LVL1BS::PpmByteStreamReadV1V2Tool, ZDC::RpdSubtractCentroidTool, JetClusterer, JetForwardJvtToolBDT, CP::AsgFlagSelectionTool, TauTrackFinder, TauAnalysisTools::DiTauSelectionTool, JetClustererByVertex, JetBadChanCorrTool, xAOD::BPhysTrackVertexMapTool, JetModifiedMassDrop, xAOD::CaloIsolationTool, EnhancedBiasWeighter, BookkeeperTool, InDet::InDetUsedInFitTrackDecoratorTool, CP::AsgPtEtaSelectionTool, TauAnalysisTools::BuildTruthTaus, tauRecTools::TauTrackRNNClassifier, InDet::InDetSecVtxTrackSelectionTool, JetForwardJvtTool, JetPileupTag::JetVertexNNTagger, CP::EgammaIsGoodOQSelectionTool, CP::IsolationCloseByCorrectionTool, CP::MuonCalibIntScaleSmearTool, DiTauRecTools::DiTauIDVarCalculator, JetFinder, AsgElectronIsEMSelector, CP::MuonCalibIntHighpTSmearTool, CP::MuonCalibIntSagittaTool, DiTauRecTools::DiTauDiscriminantTool, met::METBuilderTool, CP::AsgMaskSelectionTool, ElectronPhotonVariableCorrectionBase, ECUtils::EventCleaningTool, TauAnalysisTools::TauTruthTrackMatchingTool, met::METSoftTermsTool, LVL1::L1CaloLArTowerEnergy, HiggsTruthCategoryTool, IDTPM::TrackRoiSelectionTool, TauAnalysisTools::CommonDiTauEfficiencyTool, HIJetConstituentSubtractionTool, JetTrackSumMomentsTool, JetGrooming::SoftDrop, JetTrackMomentsTool, met::METTruthTool, PMGTools::PMGSherpaVjetsSysTool, JetQGTaggerVariableTool, ClusterMatching::CaloClusterMatchingTool, AsgPhotonEfficiencyCorrectionTool, FlavorTagDiscriminants::MultifoldGNNTool, InDet::JetTrackFilterTool, asg::DataHandleTestTool, xAODMaker::FileMetaDataTool, InDet::InclusiveTrackFilterTool, InDet::InDetTrackTruthFilterTool, HIJetClusterSubtractorTool, CP::MVATrackVertexAssociationTool, IDTPM::RoiSelectionTool, CP::BaseFakeBkgTool, ElectronPhotonVariableCorrectionTool, JetCalibrationTool, JetCaloQualityTool, JetOriginCorrectionTool, IDTPM::TrackObjectSelectionTool, InDet::InDetTrackBiasingTool, HIJetClusterIndexAssociationTool, TauWPDecorator, TrigGlobalEfficiencyCorrectionTool, ZdcRecChannelToolV2, InDetGNNHardScatterSelection::GNNTool, CP::BaseLinearFakeBkgTool, FlavorTagDiscriminants::GNNTool, CP::MuonSelectionTool, TauAnalysisTools::CommonDiTauSmearingTool, JSSTaggerBase, IDTPM::TrackQualitySelectionTool, CP::LhoodMM_tools, AsgElectronLikelihoodTool, CP::JetQGTagger, CP::JetJvtEfficiency, LVL1::L1CaloFcal23Cells2RxMappingTool, ORUtils::OverlapRemovalTool, Ringer::AsgRingerSelectorTool, InDet::InDetTrackSmearingTool, JetCopier, JetGrooming::JetGroomer, met::METPhotonAssociator, Pileup1DResidualCalibStep, JetECPSFractionTool, JetPtAssociationTool, met::METElectronAssociator, met::METTauAssociator, PMGTools::PMGDecayProductsSelectionTool, WeightToolBase, HIJetDRAssociationTool, JetClusterMomentsTool, met::METJetAssocTool, TauVertexFinder, IDTPM::JsonPlotsDefReadTool, TauAnalysisTools::DiTauSmearingTool, BJetCorrectionTool, JetDRTrackAssocTool, JetReclusterer, TauDecayModeNNClassifier, BDTVertexWeightCalculator, asg::UnitTestTool1, ZDC::ZdcAnalysisTool, IDTPM::DeltaRMatchingToolBase< T, R >, AsgElectronSelectorTool, GSCCalibStep, EtaMassJESCalibStep, JetReclusteringTool, met::METMuonAssociator, TauPi0CreateROI, TauShotFinder, IDTPM::DeltaRMatchingToolBase< xAOD::TrackParticle, xAOD::TruthParticle >, IDTPM::DeltaRMatchingToolBase< xAOD::TruthParticle, xAOD::TrackParticle >, IDTPM::DeltaRMatchingToolBase< xAOD::TrackParticle >, ZdcRecChannelToolLucrod, PMGTools::PMGTruthWeightTool, JetCalibTool, SmearingCalibStep, JetVoronoiMomentsTool, Trig::MatchFromCompositeTool, asg::UnitTestTool3, IDTPM::TruthTrackMatchingTool, CP::ApplyFakeFactor, AsgElectronChargeIDSelectorTool, HIJetMaxOverMeanTool, PanTau::Tool_FeatureExtractor, TauElectronVetoVariables, ZDC::ZdcTrigValidTool, CP::IsolationSelectionTool, WeightsAgregator, EL::UnitTestTool, FlavorTagDiscriminants::TrackClassifier, JetLArHVTool, IDTPM::EFTrackMatchingTool, IDTPM::TrackTruthMatchingTool, HI::HIPileupTool, BTaggingSelectionTool, InDet::InDetTrackTruthOriginTool, JetHelper::VarTool, FlavorTagDiscriminants::DL2Tool, PileupAreaCalibStep, EnergyCorrelatorGeneralizedRatiosTool, EnergyCorrelatorGeneralizedTool, EnergyCorrelatorRatiosTool, EnergyCorrelatorTool, TauEleOverlapChecker, TauJetRNNEvaluator, asg::UnitTestTool2, JetTruthLabelingTool, ZDC::ZdcRecTool, HIJetConstituentModifierTool, TauCalibrateLC, TauGNNEvaluator, TauPi0ScoreCalculator, TauRecToolBase, Trig::TrigEgammaEmulationPrecisionElectronHypoTool, asg::UnitTestTool1A, IDTPM::TruthQualitySelectionTool, PDFWeight, HIEventShapeJetIteration, HIJetSignificanceTool, CP::JetQGTaggerBDT, JetWidthTool, TauVertexVariables, Trig::TrigEgammaEmulationPrecisionPhotonHypoTool, Trig::TrigEgammaMatchingTool, Trig::R3IParticleRetrievalTool, JetPileupLabelingTool, JetFromPseudojet, JetTruthParticleSelectorTool, Trig::TrigEgammaEmulationBaseHypoTool, AthOnnx::OnnxRuntimeInferenceTool, ZDC::RPDAnalysisTool, CP::ApplyE2YFakeRate, ParticleScaleFactorTool, InDet::InDetTrackSystematicsTool, JetCaloQualityToolFE, Trig::MatchingTool, Trig::R3MatchingTool, IDTPM::OfflineTrackQualitySelectionTool, JetParticleAssociation, Trig::TrigEgammaEmulationChain, Trig::TrigEgammaEmulationFastCaloHypoTool, xAODtoHepMCTool, HIEventShapeMapTool, HI::HIVertexSelectionTool, JetHelper::HistoInput2D, TauVertexedClusterDecorator, Trig::IParticleRetrievalTool, HI::HIEventSelectionTool, FlavorTagDiscriminants::HbbTagTool, JetConstituentFrac, JetGroomMRatio, Validator, JetHelper::HistoInput1D, JetHelper::TextInputMCJES, ExtendTrackToLayerTool, Trig::TypedScoringTool, TrackTruthSelectionTool, HIUEModulatorTool, JSSWTopTaggerANN, CP::JvtEfficiencyToolBase, JetEMScaleMomTool, MvaTESVariableDecorator, TauAODLeptonRemovalTool, TauCombinedTES, CP::AsymptMatrixTool, ParticleJetDeltaRLabelTool, HIEventShapeSummaryTool, FlavorTagDiscriminants::BTagAugmenterTool, FlavorTagDiscriminants::VRJetOverlapDecoratorTool, JetCaloEnergies, ParticleJetGhostLabelTool, FlavorTagDiscriminants::BTagMuonAugmenterTool, BTaggingEfficiencyJsonTool, MBTSTimeFilterTool, JSSWTopTaggerDNN, SmoothedTopTagger, MvaTESEvaluator, CP::IsolationLowPtPLVTool, Trig::DRScoringTool, Trig::EgammaDRScoringTool, BTaggingSelectionJsonTool, SmoothedWZTagger, CP::FJvtEfficiencyTool, CP::JvtSelectionToolBase, CP::NNJvtSelectionTool, AthAsgExUnittestTool, CP::JvtSelectionTool, CP::FJvtSelectionTool, CP::JvtEfficiencyTool, CP::NNJvtEfficiencyTool, BookkeeperDumperTool, TrigFastCalibWithRings, BTaggingEfficiencyTool, BTaggingTruthTaggingTool, MissingCellListTool, JetVoronoiDiagramHelpers::Diagram, FastJetInterfaceTool, CP::PhotonVertexSelectionTool, met::METSystematicsTool, Trig::TrigEgammaEmulationToolMT, JetAttributeRatioSelector, BTaggingEigenVectorRecompositionTool, Trig::TrigDecisionTool, CP::PhotonPointingTool, met::METRecoTool, ZdcByteStreamReadV1V2Tool, CP::PileupReweightingTool, LVL1::L1CaloxAODOfflineTriggerTowerTools, LVL1::TrigT1CaloMonErrorToolV1, met::METTrackFilterTool, LVL1::TrigT1CaloMonErrorTool, SoftKillerWeightTool, EventDensityTool, met::METSignificance, JetUncertaintiesTool, CP::JetTileCorrectionTool, xAODMaker::TriggerMenuMetaDataTool, D3PD::D3PDMCTruthClassifier, JetConstituentModSequence, HistoGroupBase, AsgPhotonIsEMSelector, JetAttributeSelector, TrackVertexAssociationTool, met::METRefinerTool, TauAnalysisTools::CommonSmearingTool, PanTau::Tool_DetailsArranger, LVL1::L1CaloMonitoringCaloTool, LVL1::L1CaloTTIdTools, JetInputElRemovalTool, TauAnalysisTools::CommonEfficiencyTool, PanTau::PanTauProcessor, xAODMaker::TruthMetaDataTool, EventShapeCopier, met::METJetTool, GoodRunsListSelectionTool, FSR::FsrPhotonTool, Trig::StaticBunchCrossingTool, ZMassConstraint::ConstraintFit, TauAnalysisTools::TauEfficiencyCorrectionsTool, PanTau::Tool_DecayModeDeterminator, PanTau::Tool_ModeDiscriminator, CP::ElectronLRTOverlapRemovalTool, HIClusterSubtraction, JetAttributeHisto, JetPseudojetCopier, met::METEgammaAssociator, Trig::xAODBunchCrossingTool, TauAnalysisTools::DiTauEfficiencyCorrectionsTool, TauAnalysisTools::DiTauTruthMatchingTool, TauAnalysisTools::TauSmearingTool, met::METTruthAssociator, PanTau::Tool_InformationStore, HistoDefinitionTool, PanTau::Tool_InputConverter, DiTauMassTools::MissingMassTool, JetBottomUpSoftDrop, JetRecursiveSoftDrop, PMGTools::PMGCrossSectionTool, JetSoftDrop, TrigEgammaMatchingToolMT, JetConstituentsRetriever, VoronoiWeightTool, JetCaloCellQualityTool, JetContainerHistoFiller, ChargedHadronSubtractionTool, met::METRegionsTool, met::METSoftAssociator, PanTau::Tool_TauConstituentGetter, ConstituentSubtractorTool, JetHistoBase, JetSelectorAttributeRunII, JetSplitter, CaloClusterConstituentsOrigin, CP::MuonLRTOverlapRemovalTool, HistosForJetSelection, JetPruner, JetToolRunner, JetUsedInFitTrackDecoratorTool, JetTrimmer, NSubjettinessRatiosTool, CP::MuonEfficiencyScaleFactors, JetConstitFourMomTool, NSubjettinessTool, ZdcDataAccessV2, JetPseudojetRetriever, LVL1BS::TrigT1CaloDataAccessV2, PanTau::Tool_TauConstituentSelector, CopyTruthParticles, ClusterAtEMScaleTool, CP::IsolationHelper, AsgDeadHVCellRemovalTool, EfficiencyResponseHistos, ConstitTimeCutTool, JetSelectorAttribute, HIJetUEMonitoring, HIEfficiencyResponseHistos, JetSubStructureMomentToolsBase, AsgHelloTool, CopyTruthJetParticles, LeadingJetsRelations, and JetEventSelector.
Definition at line 133 of file AsgTool.h.
133 {
return StatusCode::SUCCESS; }
◆ inputContainerNames()
int IJetExecuteTool::inputContainerNames |
( |
std::vector< std::string > & |
connames | ) |
|
|
virtualinherited |
Method to return the list of input containers.
The names of required input containers are appended to connames. Returns nonzero for error. Default returns 0 and adds no names.
Reimplemented in JetRecTool.
Definition at line 11 of file IJetExecuteTool.cxx.
◆ inputHandles()
Return this algorithm's input handles.
We override this to include handle instances from key arrays if they have not yet been declared. See comments on updateVHKA.
◆ msg() [1/2]
◆ msg() [2/2]
◆ msg_level_name()
const std::string & asg::AsgTool::msg_level_name |
( |
| ) |
const |
|
inherited |
A deprecated function for getting the message level's name.
Instead of using this, weirdly named function, user code should get the string name of the current minimum message level (in case they really need it...), with:
MSG::name( msg().level() )
This function's name doesn't follow the ATLAS coding rules, and as such will be removed in the not too distant future.
- Returns
- The string name of the current minimum message level that's printed
Definition at line 101 of file AsgTool.cxx.
◆ msgLvl()
◆ object_label() [1/2]
string JetDumper::object_label |
( |
const fastjet::PseudoJet & |
jet, |
|
|
const std::string & |
label |
|
) |
| const |
|
private |
Definition at line 109 of file JetDumper.cxx.
113 return cui.
label() +
" pseudojet";
115 return "No-CUI pseudojet";
◆ object_label() [2/2]
template<typename T >
std::string JetDumper::object_label |
( |
const T * |
pjet, |
|
|
const std::string & |
label |
|
) |
| const |
|
private |
◆ outputContainerNames()
int IJetExecuteTool::outputContainerNames |
( |
std::vector< std::string > & |
connames | ) |
|
|
virtualinherited |
Method to return the list of output containers.
The names of produced output containers are appended to connames. Returns nonzero for error. Default returns 0 and adds no names.
Reimplemented in JetRecTool.
Definition at line 17 of file IJetExecuteTool.cxx.
◆ outputHandles()
Return this algorithm's output handles.
We override this to include handle instances from key arrays if they have not yet been declared. See comments on updateVHKA.
◆ print()
void JetDumper::print |
( |
| ) |
const |
|
virtual |
Print the state of the tool.
Reimplemented from asg::AsgTool.
Definition at line 98 of file JetDumper.cxx.
99 std::string myname =
"JetDumper::print: ";
◆ renounce()
◆ renounceArray()
◆ sysInitialize()
◆ sysStart()
Handle START transition.
We override this in order to make sure that conditions handle keys can cache a pointer to the conditions container.
◆ updateVHKA()
◆ m_apmoms
◆ m_bmoms
◆ m_cbmoms
◆ m_cname
std::string JetDumper::m_cname |
|
private |
◆ m_detail
◆ m_detStore
◆ m_elmoms
◆ m_evtStore
◆ m_floatmax
float JetDumper::m_floatmax |
|
private |
◆ m_fmoms
◆ m_fvmoms
◆ m_imoms
◆ m_linedetail
int JetDumper::m_linedetail |
|
private |
◆ m_maxobj
◆ m_prefix
◆ m_smoms
Bool stored as char moments.
Definition at line 158 of file JetDumper.h.
◆ m_varHandleArraysDeclared
◆ m_vfmoms
◆ m_vhka
◆ m_vimoms
The documentation for this class was generated from the following files:
const fastjet::PseudoJet * getPseudoJet() const
NameList m_apmoms
Vector<float> moments.
Scalar phi() const
phi method
ElementLink< xAOD::MuonSegmentContainer > MSEL
void getAssociatedLinks(TObj *pobj, std::string name, APELVector &val) const
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T > &t)
std::vector< MSEL > MSELVector
StoreGateSvc_t m_evtStore
Pointer to StoreGate (event store by default)
std::vector< SG::VarHandleKeyArray * > m_vhka
Class describing a MuonSegment.
std::string object_label(const T *pjet, const std::string &label) const
size_t size() const
number of constituents
NameList m_vfmoms
Vector<int> moments.
virtual const xAOD::IParticle * particle() const =0
JetConstituentVector getConstituents() const
Return a vector of consituents. The object behaves like vector<const IParticle*>. See JetConstituentV...
Class providing the definition of the 4-vector interface.
bool getAttribute(AttributeID type, T &value) const
Retrieve attribute moment by enum.
const ID_type & dataID() const
Get the key that we reference, as a string.
NameList m_cbmoms
Bool moments.
virtual void setOwner(IDataHandleHolder *o)=0
void get_moment(TObj *pobj, std::string name, TMom &val) const
NameList m_vimoms
Element link moments.
std::vector< const T * > getAssociatedObjects(const std::string &name) const
get associated objects as a vector<object> this compact form throws an exception if the object is not...
ServiceHandle< StoreGateSvc > & evtStore()
The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc.
NameList m_bmoms
Int moments.
std::string get_moment_as_string(const TObj &obj, std::string name) const
virtual bool isGhost() const
Returns true if this constituent is a ghost.
NameList m_smoms
Bool stored as char moments.
void extra_info(const T *, std::ostream &out, int) const
::StatusCode StatusCode
StatusCode definition for legacy code.
virtual Index index() const
virtual Label label() const =0
const std::string & name(Level lvl)
Convenience function for translating message levels to strings.
StoreGateSvc_t m_detStore
Pointer to StoreGate (detector store by default)
NameList m_elmoms
Four-vector moments.
size_t index() const
Return the index of this element within its container.
virtual void renounce()=0
std::vector< const xAOD::MuonSegment * > MSVector
std::conditional< std::is_base_of< SG::VarHandleKeyArray, T >::value, VarHandleKeyArrayType, type2 >::type type
ElementLink implementation for ROOT usage.
ElementLink< xAOD::IParticleContainer > APEL
std::vector< const xAOD::IParticle * > APVector
int dump_collection(const TList *pjets, const std::string &objtypename="Unknown") const
float z() const
Returns the y position.
xAOD::JetFourMom_t FourVector
std::vector< fastjet::PseudoJet > PseudoJetVector
float y() const
Returns the x position.
IJetConstituentsRetriever::NameList NameList
index_type index() const
Get the index of the element inside of its container.
void getAssociatedParticles(TObj *pobj, std::string name, APVector &val) const
std::vector< APEL > APELVector
SG::VarHandleKey & vhKey()
Return a non-const reference to the HandleKey.
NameList m_imoms
Float moments.
int dump_object_after_prefix(const T *pjet, const std::string &objtypename) const
const SG::AuxVectorData * container() const
Return the container holding this element.
size_t numConstituents() const
Number of constituents in this jets (this is valid even when reading a file where the constituents ha...
Gaudi::Details::PropertyBase & declareGaudiProperty(Gaudi::Property< T > &hndl, const SG::VarHandleKeyType &)
specialization for handling Gaudi::Property<SG::VarHandleKey>
NameList m_fvmoms
String moments.