ATLAS Offline Software
Reconstruction/tauEvent/tauEvent/TauJetContainer.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 //-----------------------------------------------------------------------------
6 // file: TauContainer.h
7 // package: Reconstruction/tauEvent
8 // authors: Lukasz Janyst
9 // date: 2007-01-24
10 // description: Container for Taus
11 //-----------------------------------------------------------------------------
12 
13 #ifndef TAU_CONTAINER_ANALYSIS_H
14 #define TAU_CONTAINER_ANALYSIS_H
15 
17 #include "AthenaKernel/CLASS_DEF.h"
18 #include "tauEvent/TauJet.h"
19 
21 // Needed for constructing the mirror container hierarchy
22 // This tells StoreGate that DV<Analysis::TauJet> derives from DV<IParticle>
24 
25 namespace Analysis
26 {
27  //-------------------------------------------------------------------------
28  // this must be new class for persistency reasons
29  //-------------------------------------------------------------------------
30  class TauJetContainer: public DataVector<TauJet>
31  {
32  public:
34  DataVector<TauJet>( own ) {}
35 
36  //-----------------------------------------------------------------
38  //-----------------------------------------------------------------
39  void setROIAuthor( const std::string& RoiAuthor )
40  {
41  m_ROIauthor = RoiAuthor;
42  }
43 
44  //-----------------------------------------------------------------
46  //-----------------------------------------------------------------
47  const std::string& getROIAuthor() const
48  {
49  return m_ROIauthor;
50  }
51 
52  private:
53  std::string m_ROIauthor;
54  };
55 }
56 
58 
60 
61 #endif // TAU_CONTAINER_ANALYSIS
SG_BASE
SG_BASE(Analysis::TauJetContainer, DataVector< Analysis::TauJet >)
DATAVECTOR_BASE
DATAVECTOR_BASE(Analysis::TauJet, IParticle)
Analysis::TauJetContainer::getROIAuthor
const std::string & getROIAuthor() const
Retrieve ROI ID and author (trigger purposes)
Definition: Reconstruction/tauEvent/tauEvent/TauJetContainer.h:47
Analysis::TauJetContainer
Definition: Reconstruction/tauEvent/tauEvent/TauJetContainer.h:31
SG::OwnershipPolicy
OwnershipPolicy
describes the possible element ownership policies (see e.g. DataVector)
Definition: OwnershipPolicy.h:16
SG::OWN_ELEMENTS
@ OWN_ELEMENTS
this data object owns its elements
Definition: OwnershipPolicy.h:17
Analysis::TauJet
Object for taus common for ESD and AOD.
Definition: Reconstruction/tauEvent/tauEvent/TauJet.h:61
DataVector
Derived DataVector<T>.
Definition: DataVector.h:794
Analysis
The namespace of all packages in PhysicsAnalysis/JetTagging.
Definition: BTaggingCnvAlg.h:20
Analysis::TauJetContainer::TauJetContainer
TauJetContainer(SG::OwnershipPolicy own=SG::OWN_ELEMENTS)
Definition: Reconstruction/tauEvent/tauEvent/TauJetContainer.h:33
Analysis::TauJetContainer::m_ROIauthor
std::string m_ROIauthor
Definition: Reconstruction/tauEvent/tauEvent/TauJetContainer.h:53
DataVector.h
An STL vector of pointers that by default owns its pointed-to elements.
CLASS_DEF
#define CLASS_DEF(NAME, CID, VERSION)
associate a clid and a version to a type eg
Definition: Control/AthenaKernel/AthenaKernel/CLASS_DEF.h:64
IParticleContainer.h
IParticle
Definition: Event/EventKernel/EventKernel/IParticle.h:43
CLASS_DEF.h
macros to associate a CLID to a type
TauJet.h
Analysis::TauJetContainer::setROIAuthor
void setROIAuthor(const std::string &RoiAuthor)
Set ROI ID and author (trigger purposes)
Definition: Reconstruction/tauEvent/tauEvent/TauJetContainer.h:39