|
ATLAS Offline Software
|
#include <HIEventShapeJetIteration.h>
|
| HIEventShapeJetIteration (const std::string &name) |
|
virtual StatusCode | initialize () override |
| Dummy implementation of the initialisation function. More...
|
|
virtual int | execute () const override |
| Method to be called for each event. More...
|
|
StatusCode | makeClusterList (std::vector< const xAOD::CaloCluster * > &particleList, const xAOD::JetContainer *theJets, std::set< unsigned int > &used_indices, std::set< unsigned int > &used_eta_bins) const |
|
StatusCode | makeClusterList (std::vector< const xAOD::CaloCluster * > &particleList, const xAOD::JetContainer *theJets) const |
|
StatusCode | makeClusterList (std::vector< const xAOD::CaloCluster * > &particleList, const std::vector< const xAOD::JetContainer * > &theJets_vector) const |
|
void | updateShape (xAOD::HIEventShapeContainer *output_shape, const std::vector< const xAOD::CaloCluster * > &assoc_clusters, const HIEventShapeIndex *es_index=nullptr) const |
|
StatusCode | fillModulatorShape (xAOD::HIEventShape *ms, const xAOD::HIEventShapeContainer *output_shape, const std::set< unsigned int > &used_indices, unsigned int scheme) const |
|
StatusCode | remodulate (xAOD::HIEventShapeContainer *output_shape, const xAOD::HIEventShape *ms, const std::set< unsigned int > &used_indices) const |
|
StatusCode | getShapes (const xAOD::HIEventShapeContainer *&input_shape, xAOD::HIEventShapeContainer *&output_shape, bool record_aux=false) const |
|
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 void | print () const =0 |
| Print the state of the tool. More...
|
|
virtual void | print () const |
| Print the state of the tool. 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 |
|
|
ToolHandle< IHISubtractorTool > | m_subtractorTool { this, "Subtractor", "HIJetClusterSubtractorTool", "Handle to HIJetClusterSubtractorTool" } |
|
ToolHandle< IHIUEModulatorTool > | m_modulatorTool { this, "Modulator" , "HIUEModulatorTool", "Handle to HIUEModulatorTool" } |
|
ToolHandle< IHIEventShapeMapTool > | m_eventShapeMapTool { this, "EventShapeMapTool", "HIEventShapeMapTool", "Handle to Event Shape Map Tool"} |
|
SG::ReadHandleKey< xAOD::HIEventShapeContainer > | m_inputEventShapeKey { this, "InputEventShapeKey", "HIEventShape", "HIEventShape"} |
| Name of input HIEventShapeContainer. More...
|
|
SG::WriteHandleKey< xAOD::HIEventShapeContainer > | m_outputEventShapeKey { this, "OutputEventShapeKey", "HIEventShape_iter", "HIEventShape_iter"} |
| Name of output HIEventShapeContainer. More...
|
|
SG::ReadHandleKey< xAOD::JetContainer > | m_caloJetSeedKey { this, "CaloJetSeedContainerKey", "", "Names of seed collections"} |
| List of names of JetCollections, all jets in these collections are seeds. More...
|
|
SG::ReadHandleKey< xAOD::JetContainer > | m_trackJetSeedKey { this, "TrackJetSeedContainerKey", "", "Names of seed collections"} |
|
Gaudi::Property< std::string > | m_associationKey { this, "AssociationKey", "", "Name of jet attribute providing link between jets and clusters" } |
| Name of jet attribute providing link between jets and clusters. More...
|
|
Gaudi::Property< float > | m_excludeDR { this, "ExclusionRadius", 0.4, "Exclude all calo regions w/in this DR to jet" } |
| All clusters w/in this DR of jet are excluded from shape calc. More...
|
|
Gaudi::Property< bool > | m_excludeConstituents { this, "ExcludeConstituents", false, "Only exclude constituents of jets" } |
| If selected, the jet constituents define the associated clusters. More...
|
|
Gaudi::Property< bool > | m_doRemodulation { this, "RemodulateUE", false, "Correct UE for incomplete cancellation of flow harmonics when iterating" } |
|
Gaudi::Property< unsigned int > | m_modulationScheme { this, "ModulationScheme", 0, "Scheme to build separate ES object for flow modulation" } |
|
SG::WriteHandleKey< xAOD::HIEventShapeContainer > | m_modulationKey { this, "ModulationEventShapeKey", "HIEventShape_itr_mod", "Modulation Event Shape Key"} |
|
Gaudi::Property< bool > | m_shallowCopy { this, "ShallowCopy", true, "Use shallow copy for iterated event shape" } |
|
StoreGateSvc_t | m_evtStore |
| Pointer to StoreGate (event store by default) More...
|
|
StoreGateSvc_t | m_detStore |
| Pointer to StoreGate (detector store by default) More...
|
|
std::vector< SG::VarHandleKeyArray * > | m_vhka |
|
bool | m_varHandleArraysDeclared |
|
Definition at line 23 of file HIEventShapeJetIteration.h.
◆ StoreGateSvc_t
◆ HIEventShapeJetIteration()
HIEventShapeJetIteration::HIEventShapeJetIteration |
( |
const std::string & |
name | ) |
|
◆ ASG_TOOL_CLASS()
◆ 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()
◆ evtStore() [1/2]
◆ evtStore() [2/2]
◆ execute()
int HIEventShapeJetIteration::execute |
( |
| ) |
const |
|
overridevirtual |
Method to be called for each event.
Returns 0 for success.
Implements IJetExecuteTool.
Definition at line 49 of file HIEventShapeJetIteration.cxx.
52 ATH_MSG_DEBUG(
"Starting HIEventShapeJetIteration execution" );
55 getShapes(input_shape,output_shape,
true).ignore();
76 theCaloJets = readHandleCaloJets.cptr();
80 theTrackJets = readHandleTrackJets.cptr();
85 ATH_MSG_ERROR(
"Incompatible options. Cannot track jets and constituents together.");
89 std::set<unsigned int> used_indices;
90 std::set<unsigned int> used_eta_bins;
92 std::vector<const xAOD::CaloCluster*> assoc_clusters;
93 assoc_clusters.reserve(6400);
106 auto modShape = std::make_unique<xAOD::HIEventShapeContainer> ();
107 auto modShapeAux = std::make_unique<xAOD::HIEventShapeAuxContainer> ();
108 modShape->setStore( modShapeAux.get() );
111 modShape->push_back(
ms);
115 if(write_handle_modShape.record ( std::move(modShape), std::move(modShapeAux)).isFailure() ){
◆ 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
◆ fillModulatorShape()
Definition at line 213 of file HIEventShapeJetIteration.cxx.
227 if (!read_handle_cont.isValid()) {
229 return(StatusCode::FAILURE);
231 summary_container = read_handle_cont.cptr();
234 for(
const auto *
sh : *summary_container)
238 if(SummaryAcc.isAvailable(*
sh))
summary=SummaryAcc(*
sh);
245 if (!s_fcal) std::abort();
246 if(
scheme==3) (*ms)=(*s_fcal);
249 float et_fcal=s_fcal->
et();
250 float et_fcal_recip=0;
251 if(et_fcal > 0.) et_fcal_recip=1.0/et_fcal;
252 for(
unsigned int ih=0; ih <
ms->etCos().
size(); ih++)
254 float qx=
ms->etCos().at(ih);
255 float qy=
ms->etSin().at(ih);
257 float qx_fcal=s_fcal->
etCos().at(ih);
258 float qy_fcal=s_fcal->
etSin().at(ih);
260 ms->etCos()[ih]=(qx*qx_fcal+qy*qy_fcal)*et_fcal_recip;
261 ms->etSin()[ih]=(qy*qx_fcal-qx*qy_fcal)*et_fcal_recip;
265 return StatusCode::SUCCESS;
◆ 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.
◆ getShapes()
Definition at line 304 of file HIEventShapeJetIteration.cxx.
309 input_shape = readHandleEvtShape.ptr();
316 output_shape=shape_copy.first;
320 if(writeHandleEvtShape.record ( std::move(unique_first_copy), std::move(unique_second_copy)).isFailure() ){
322 return(StatusCode::FAILURE);
329 auto output_shapex=std::make_unique<xAOD::HIEventShapeContainer> ();
330 auto output_Aux=std::make_unique<xAOD::HIEventShapeAuxContainer> ();
331 output_shapex->setStore( output_Aux.get() );
332 output_shapex->reserve( input_shape->
size() );
334 for(
const auto *
s : *input_shape)
337 output_shapex->push_back(s_copy);
342 if(writeHandleEvtShape.record ( std::move(output_shapex), std::move(output_Aux)).isFailure() ){
344 return(StatusCode::FAILURE);
346 output_shape = writeHandleEvtShape.ptr();
351 return StatusCode::SUCCESS;
◆ initialize()
StatusCode HIEventShapeJetIteration::initialize |
( |
| ) |
|
|
overridevirtual |
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 from asg::AsgTool.
Definition at line 37 of file HIEventShapeJetIteration.cxx.
46 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.
◆ makeClusterList() [1/3]
Definition at line 172 of file HIEventShapeJetIteration.cxx.
174 std::set<unsigned int> used_indices;
175 std::set<unsigned int> used_eta_bins;
176 for(
const auto *theJets : theJets_vector)
180 return StatusCode::SUCCESS;
◆ makeClusterList() [2/3]
◆ makeClusterList() [3/3]
StatusCode HIEventShapeJetIteration::makeClusterList |
( |
std::vector< const xAOD::CaloCluster * > & |
particleList, |
|
|
const xAOD::JetContainer * |
theJets, |
|
|
std::set< unsigned int > & |
used_indices, |
|
|
std::set< unsigned int > & |
used_eta_bins |
|
) |
| const |
Definition at line 124 of file HIEventShapeJetIteration.cxx.
127 for(
const auto *theJet : *theJets)
130 std::vector<const xAOD::IParticle*> assoc_clusters;
140 return StatusCode::FAILURE;
144 << std::setw(10) << jet4mom.Eta()
145 << std::setw(10) << jet4mom.Phi()
146 << std::setw(10) << jet4mom.E()*1
e-3
147 << std::setw(25) <<
" has " << assoc_clusters.size() <<
" assoc. clusters");
149 for(
auto & assoc_cluster : assoc_clusters)
151 if( jet4mom.DeltaR( assoc_cluster->p4() ) >
m_excludeDR )
continue;
155 if(used_indices.insert(tower_index).second)
157 particleList.push_back(cl_ptr);
162 return StatusCode::SUCCESS;
◆ 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()
◆ 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() [1/2]
void asg::AsgTool::print |
( |
| ) |
const |
|
virtualinherited |
Print the state of the tool.
Implements asg::IAsgTool.
Reimplemented in JetRecTool, JetFinder, JetModifiedMassDrop, JetFromPseudojet, JetReclusterer, JetReclusteringTool, JetTruthLabelingTool, JetPileupLabelingTool, HI::HIPileupTool, JetDumper, JetBottomUpSoftDrop, JetRecursiveSoftDrop, JetSoftDrop, JetConstituentsRetriever, JetSubStructureMomentToolsBase, JetSplitter, JetToolRunner, JetPruner, JetPseudojetRetriever, JetTrimmer, AsgHelloTool, and KtDeltaRTool.
Definition at line 131 of file AsgTool.cxx.
◆ print() [2/2]
virtual void asg::IAsgTool::print |
( |
| ) |
const |
|
pure virtualinherited |
Print the state of the tool.
Implemented in JetRecTool, JetFinder, JetModifiedMassDrop, JetFromPseudojet, JetReclusterer, JetReclusteringTool, JetTruthLabelingTool, JetPileupLabelingTool, HI::HIPileupTool, asg::AsgTool, JetDumper, JetBottomUpSoftDrop, JetRecursiveSoftDrop, JetSoftDrop, JetConstituentsRetriever, JetSubStructureMomentToolsBase, JetSplitter, JetToolRunner, JetPruner, JetPseudojetRetriever, JetTrimmer, AsgHelloTool, and KtDeltaRTool.
◆ remodulate()
Definition at line 269 of file HIEventShapeJetIteration.cxx.
274 for(
unsigned int used_indice : used_indices)
283 for(
auto &&
i : *output_shape)
286 float eta0=0.5*(
s->etaMin()+
s->etaMax());
288 double neff=nphibins-mod_counts[eb];
290 if (neff-mod_factors[eb] != 0) {
291 cf=neff/(neff-mod_factors[eb]);
297 s->setEt(
s->et()*cf);
298 s->setRho(
s->rho()*cf);
301 return StatusCode::SUCCESS;
◆ 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.
◆ updateShape()
Definition at line 183 of file HIEventShapeJetIteration.cxx.
185 if(es_index==
nullptr)
190 if(es_index==
nullptr)
196 for(
const auto *assoc_cluster : assoc_clusters)
203 for(
auto s : *output_shape)
205 float sum_et=
s->et();
207 if(sum_et!=0.) sum_nc=
s->rho()*
s->area()/sum_et;
208 s->setNCells(sum_nc);
◆ updateVHKA()
◆ m_associationKey
Gaudi::Property< std::string > HIEventShapeJetIteration::m_associationKey { this, "AssociationKey", "", "Name of jet attribute providing link between jets and clusters" } |
|
private |
◆ m_caloJetSeedKey
◆ m_detStore
◆ m_doRemodulation
Gaudi::Property< bool > HIEventShapeJetIteration::m_doRemodulation { this, "RemodulateUE", false, "Correct UE for incomplete cancellation of flow harmonics when iterating" } |
|
private |
◆ m_eventShapeMapTool
◆ m_evtStore
◆ m_excludeConstituents
Gaudi::Property< bool > HIEventShapeJetIteration::m_excludeConstituents { this, "ExcludeConstituents", false, "Only exclude constituents of jets" } |
|
private |
◆ m_excludeDR
Gaudi::Property< float > HIEventShapeJetIteration::m_excludeDR { this, "ExclusionRadius", 0.4, "Exclude all calo regions w/in this DR to jet" } |
|
private |
◆ m_inputEventShapeKey
◆ m_modulationKey
◆ m_modulationScheme
Gaudi::Property< unsigned int > HIEventShapeJetIteration::m_modulationScheme { this, "ModulationScheme", 0, "Scheme to build separate ES object for flow modulation" } |
|
private |
◆ m_modulatorTool
◆ m_outputEventShapeKey
◆ m_shallowCopy
Gaudi::Property< bool > HIEventShapeJetIteration::m_shallowCopy { this, "ShallowCopy", true, "Use shallow copy for iterated event shape" } |
|
private |
◆ m_subtractorTool
◆ m_trackJetSeedKey
◆ m_varHandleArraysDeclared
◆ m_vhka
The documentation for this class was generated from the following files:
flt_t phi0() const
Returns raw of cluster seed.
float et() const
Transverse energy reconstructed.
Gaudi::Property< std::string > m_associationKey
Name of jet attribute providing link between jets and clusters.
ToolHandle< IHISubtractorTool > m_subtractorTool
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T > &t)
unsigned int findBinEta(float eta)
SG::ReadHandleKey< xAOD::HIEventShapeContainer > m_inputEventShapeKey
Name of input HIEventShapeContainer.
StoreGateSvc_t m_evtStore
Pointer to StoreGate (event store by default)
std::vector< SG::VarHandleKeyArray * > m_vhka
float getBinCenterPhi(unsigned int pb)
HIEventShape_v2 HIEventShape
Definition of the latest event info version.
Helper class to provide constant type-safe access to aux data.
unsigned int findEtaPhiBin(float eta, float phi)
#define ATH_MSG_VERBOSE(x)
const std::vector< float > & etSin() const
Class providing the definition of the 4-vector interface.
virtual void setOwner(IDataHandleHolder *o)=0
TLorentzVector FourMom_t
Definition of the 4-momentum type.
StatusCode fillModulatorShape(xAOD::HIEventShape *ms, const xAOD::HIEventShapeContainer *output_shape, const std::set< unsigned int > &used_indices, unsigned int scheme) const
void updateShape(xAOD::HIEventShapeContainer *output_shape, const std::vector< const xAOD::CaloCluster * > &assoc_clusters, const HIEventShapeIndex *es_index=nullptr) const
Interface class for the HI reconstruction EDM.
ServiceHandle< StoreGateSvc > & evtStore()
The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc.
SG::WriteHandleKey< xAOD::HIEventShapeContainer > m_modulationKey
Description of a calorimeter cluster.
const std::vector< float > & etCos() const
SG::ReadHandleKey< xAOD::JetContainer > m_caloJetSeedKey
List of names of JetCollections, all jets in these collections are seeds.
StatusCode remodulate(xAOD::HIEventShapeContainer *output_shape, const xAOD::HIEventShape *ms, const std::set< unsigned int > &used_indices) const
Gaudi::Property< unsigned int > m_modulationScheme
ToolHandle< IHIUEModulatorTool > m_modulatorTool
Gaudi::Property< bool > m_doRemodulation
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)
Gaudi::Property< bool > m_excludeConstituents
If selected, the jet constituents define the associated clusters.
constexpr unsigned int numEtaBins()
virtual void renounce()=0
std::conditional< std::is_base_of< SG::VarHandleKeyArray, T >::value, VarHandleKeyArrayType, type2 >::type type
void fillSummary(const xAOD::HIEventShapeContainer *in, xAOD::HIEventShape *out, const std::function< bool(const xAOD::HIEventShape *)> &incFunction, const std::function< void(xAOD::HIEventShape *, const xAOD::HIEventShape *)> &addFunction)
Gaudi::Property< float > m_excludeDR
All clusters w/in this DR of jet are excluded from shape calc.
SG::WriteHandleKey< xAOD::HIEventShapeContainer > m_outputEventShapeKey
Name of output HIEventShapeContainer.
std::pair< std::unique_ptr< T >, std::unique_ptr< ShallowAuxContainer > > shallowCopyContainer(const T &cont, [[maybe_unused]] const EventContext &ctx)
Function making a shallow copy of a constant container.
Gaudi::Property< bool > m_shallowCopy
flt_t eta0() const
Returns raw of cluster seed.
StatusCode getShapes(const xAOD::HIEventShapeContainer *&input_shape, xAOD::HIEventShapeContainer *&output_shape, bool record_aux=false) const
SG::VarHandleKey & vhKey()
Return a non-const reference to the HandleKey.
ToolHandle< IHIEventShapeMapTool > m_eventShapeMapTool
StatusCode makeClusterList(std::vector< const xAOD::CaloCluster * > &particleList, const xAOD::JetContainer *theJets, std::set< unsigned int > &used_indices, std::set< unsigned int > &used_eta_bins) const
SG::ReadHandleKey< xAOD::JetContainer > m_trackJetSeedKey
constexpr unsigned int numPhiBins()
size_type size() const noexcept
Returns the number of elements in the collection.
Gaudi::Details::PropertyBase & declareGaudiProperty(Gaudi::Property< T > &hndl, const SG::VarHandleKeyType &)
specialization for handling Gaudi::Property<SG::VarHandleKey>
std::unique_ptr< CaloCluster > prepareElementForShallowCopy(const CaloCluster *orgCluster)