|
ATLAS Offline Software
|
Go to the documentation of this file.
17 const std::string&
name,
22 declareInterface< IJetCnvTool >(
this );
37 bool constitSearch)
const
44 std::vector< std::string > momentKeys ;
47 momentKeys= (*it)->getMomentKeys();
50 (*it)->begin() != (*it)->end() )
62 if( !xaodConstitCont )
ATH_MSG_DEBUG(
"Could not retrieve xaod constiuents with key "<<
proxy->name() );
82 for( ; cit!= citE; ++cit){
84 double min_dr2 = 0.1 * 0.1;
88 double deta =
p->eta() - (*cit)->eta();
90 double dr2 = deta*deta + dphi*dphi;
110 for(
size_t i=0;
i<momentKeys.size();
i++){
138 return StatusCode::SUCCESS;
Const iterator class for DataVector/DataList.
void toIdentifiedObject(const ID_type &dataID, IProxyDict *sg=0)
Set the link to an object given by a string key.
Basic data class defines behavior for all Jet objects The Jet class is the principal data class for...
Class providing the definition of the 4-vector interface.
__HOSTDEV__ double Phi_mpi_pi(double)
void setJetP4(const JetFourMom_t &p4)
navigable_t::object_iter const_iterator
@ JetConstitScaleMomentum
ServiceHandle< StoreGateSvc > & evtStore()
The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc.
Object reference supporting deferred reading from StoreGate.
::StatusCode StatusCode
StatusCode definition for legacy code.
void setConstituentsSignalState(JetConstitScale t)
Set the state at which constituents were when this jet was found. This function is called by jet buil...
void addConstituent(const ElementLink< IParticleContainer > &link, float weight=1.0)
Add a constituent directly in the ElementLink format.
void setAttribute(const std::string &name, const T &v)
ROOT::Math::LorentzVector< ROOT::Math::PtEtaPhiM4D< double > > JetFourMom_t
Base 4 Momentum type for Jet.
bool isDefault() const
Test to see if we're in the default state.
value_type push_back(value_type pElem)
Add an element to the end of the collection.
const_iterator end() const noexcept
Return a const_iterator pointing past the end of the collection.
sgkey_t key() const
Get the key that we reference, as a hash.
size_t numConstituents() const
Number of constituents in this jets (this is valid even when reading a file where the constituents ha...
virtual double pt() const
The transverse momentum ( ) of the particle.
Jet_v1 Jet
Definition of the current "jet version".
const_iterator begin() const noexcept
Return a const_iterator pointing at the beginning of the collection.