MuonSegmentPseudoJetGetter Class Reference

#include <MuonSegmentPseudoJetGetter.h>

Inheritance diagram for MuonSegmentPseudoJetGetter:
asg::AsgTool IPseudoJetGetter asg::IAsgTool asg::IAsgTool

List of all members.

Public Types

typedef jet::LabelIndex LabelIndex
typedef jet::PseudoJetVector PseudoJetVector

Public Member Functions

 MuonSegmentPseudoJetGetter (const std::string &myname)
 Constructor from tool name.
virtual StatusCode initialize ()
const PseudoJetVector * get () const
virtual int appendTo (PseudoJetVector &psjs, const LabelIndex *pli) const
int append (const xAOD::MuonSegmentContainer &inputs, PseudoJetVector &psjs, const LabelIndex *pli) const
std::string label () const
 Return the label for these pseudojets.
void print () const
 Dump to properties to the log.

Protected Attributes

std::string m_incoll
std::string m_outcoll
 Input collection name.
std::string m_label
 Output collection name.
double m_pt
 Label for the collection.

Detailed Description

MuonSegmentPseudoJetGetter is a dual-use tool to retrieve and build the pseudojet inputs from muon segments.

Tool Properties:

Note: The label is attached to the CUI (constituent user info) associated with created pseudojet and should be unique for each set of pseuodjets used as input for finding a particular collection of jets.

The label for a primary pseudojet getter (the first in the vector presented to JetRecTool) is used to deduce the input type and must be one of the following: LCTopo, TopoEM, TopoTower, Tower, Truth, Track, PFlow.


Member Function Documentation

int MuonSegmentPseudoJetGetter::append ( const xAOD::MuonSegmentContainer inputs,
PseudoJetVector &  psjs,
const LabelIndex pli 
) const

Construct pseudojets from the the inputs using the supplied label index and append them to the pseudojet vector.

Loop over input, buid CUI and PseudoJets

int MuonSegmentPseudoJetGetter::appendTo ( PseudoJetVector &  psjs,
const LabelIndex pli 
) const [virtual]

Find the input collection in the event store and call append to fill the psedojet vector.

const PseudoJetVector * MuonSegmentPseudoJetGetter::get (  )  const [virtual]

Returns the pseudojet collection. If already existing, the collection in the event store is returned. If not, an new collection is created and filled by calling appendTo. Returns null if the collection cannot be created.

Implements IPseudoJetGetter.

StatusCode MuonSegmentPseudoJetGetter::initialize ( void   )  [virtual]

Initialization. Can be skipped.

Reimplemented from asg::AsgTool.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 1 Dec 2017 for RootCore Packages by  doxygen 1.6.1