ATLAS Offline Software
egammaSuperClusterBuilder.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef EGAMMAALGS_EGAMMASUPERCLUSTERBUILDER_H
6 #define EGAMMAALGS_EGAMMASUPERCLUSTERBUILDER_H
7 
9 
10 #include "GaudiKernel/EventContext.h"
14 
16 
17 // Fwd declarations
20 #include "xAODEgamma/EgammaEnums.h"
21 
22 #include <string>
23 #include <vector>
24 
58 {
59 
60 public:
61  egammaSuperClusterBuilder(const std::string& name, ISvcLocator* pSvcLocator);
62 
63  virtual StatusCode initialize() override final;
64 
65 private:
67  const egammaRec *egRec) const override final;
68 
84  virtual std::vector<std::size_t> searchForSecondaryClusters(
85  std::size_t egammaInd,
86  const EgammaRecContainer* egammaRecs,
87  std::vector<bool>& isUsed) const override final;
88 
90 
92  Gaudi::Property<std::string> m_calibrationType{
93  this,
94  "CalibrationType",
95  "electron",
96  "type to be assumed for calibration: electron , photon"
97  };
98 };
99 
100 #endif
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
egammaSuperClusterBuilder::initialize
virtual StatusCode initialize() override final
should be called by the derived class in the initialize phase
Definition: egammaSuperClusterBuilder.cxx:28
egammaSuperClusterBuilder
Create supercluster under egamma (no tracking) hypothesis Useful if you want to run calo reconstuctio...
Definition: egammaSuperClusterBuilder.h:58
egammaSuperClusterBuilder::searchForSecondaryClusters
virtual std::vector< std::size_t > searchForSecondaryClusters(std::size_t egammaInd, const EgammaRecContainer *egammaRecs, std::vector< bool > &isUsed) const override final
Return extra clusters that can be added to make supercluster.
Definition: egammaSuperClusterBuilder.cxx:53
egammaSuperClusterBuilder::egammaSuperClusterBuilder
egammaSuperClusterBuilder(const std::string &name, ISvcLocator *pSvcLocator)
Definition: egammaSuperClusterBuilder.cxx:20
CaloDetDescrManager.h
Definition of CaloDetDescrManager.
xAOD::EgammaParameters::EgammaType
EgammaType
Definition: EgammaEnums.h:17
egammaSuperClusterBuilder::m_calibrationType
Gaudi::Property< std::string > m_calibrationType
type to be assumed for calibration
Definition: egammaSuperClusterBuilder.h:92
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
DataVector
Derived DataVector<T>.
Definition: DataVector.h:581
ReadCondHandleKey.h
WriteHandleKey.h
Property holding a SG store/key/clid from which a WriteHandle is made.
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:221
egammaSuperClusterBuilderBase.h
egammaSuperClusterBuilder::m_egTypeForCalibration
xAOD::EgammaParameters::EgammaType m_egTypeForCalibration
Definition: egammaSuperClusterBuilder.h:89
EgammaEnums.h
egammaSuperClusterBuilder::getEgammaRecType
virtual xAOD::EgammaParameters::EgammaType getEgammaRecType(const egammaRec *egRec) const override final
Definition: egammaSuperClusterBuilder.cxx:46
egammaSuperClusterBuilderBase
Base class for electronSuperClusterBuilder photonSuperClusterBuilder egammaSuperClusterBuilder This c...
Definition: egammaSuperClusterBuilderBase.h:47
CaloClusterContainer.h
egammaRec
Definition: egammaRec.h:31
egammaRecContainer.h