ATLAS Offline Software
Loading...
Searching...
No Matches
JpsiPlusDsCascade.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3*/
4#ifndef JPSIPLUSDSCASCADE_H
5#define JPSIPLUSDSCASCADE_H
6//*********************
7// JpsiPlusDsCascade header file
8//
9// Eva Bouhova <e.bouhova@cern.ch>
10// Adam Barton <abarton@cern.ch>
11
13#include "GaudiKernel/ToolHandle.h"
14#include "GaudiKernel/IPartPropSvc.h"
17#include <vector>
19// dummy EventContext for AnalysisBase
21
22namespace Trk {
23 class IVertexFitter;
24 class TrkVKalVrtFitter;
26 class VxCascadeInfo;
27 class V0Tools;
28}
29
30namespace DerivationFramework {
31 class CascadeTools;
32}
33
34namespace DerivationFramework {
35
36 class JpsiPlusDsCascade : public extends<AthAlgTool, IAugmentationTool>
37 {
38 public:
39 JpsiPlusDsCascade(const std::string& t, const std::string& n, const IInterface* p);
41 virtual StatusCode initialize() override;
42 StatusCode performSearch(std::vector<Trk::VxCascadeInfo*> *cascadeinfoContainer, const EventContext& ctx ) const;
43 virtual StatusCode addBranches(const EventContext& ctx) const override;
44
45 private:
46 std::string m_vertexContainerKey; // FIXME Use Handles
47 std::string m_vertexDxContainerKey; // FIXME Use Handles
48 std::vector<std::string> m_cascadeOutputsKeys; // FIXME Use Handles
49
51
58 double m_vtx0MassHypo; // 1st vertex mass hypothesis
59 double m_vtx1MassHypo; // 2nd vertex mass hypothesis
60 double m_vtx0Daug1MassHypo; // mass hypothesis of 1st daughter from vertex 0
61 double m_vtx0Daug2MassHypo; // mass hypothesis of 2nd daughter from vertex 0
62 double m_vtx1Daug1MassHypo; // mass hypothesis of 1st daughter from vertex 1
63 double m_vtx1Daug2MassHypo; // mass hypothesis of 2nd daughter from vertex 1
64 double m_vtx1Daug3MassHypo; // mass hypothesis of 3rd daughter from vertex 1
65
70 double m_chi2cut;
71
72 SG::ReadHandleKey<xAOD::EventInfo> m_eventInfo_key{this, "EventInfo", "EventInfo", "Input event information"};
73 ToolHandle < Trk::TrkVKalVrtFitter > m_iVertexFitter;
74 ToolHandle < Analysis::PrimaryVertexRefitter > m_pvRefitter;
75 ToolHandle < Trk::V0Tools > m_V0Tools;
76 ToolHandle < DerivationFramework::CascadeTools > m_CascadeTools;
77 ServiceHandle<IPartPropSvc> m_partPropSvc{this, "PartPropSvc", "PartPropSvc"};
78
81 std::string m_hypoName;
82 //This parameter will allow us to optimize the number of PVs under consideration as the probability
83 //of a useful primary vertex drops significantly the higher you go
87
88 };
89}
90
91#endif
JpsiPlusDsCascade(const std::string &t, const std::string &n, const IInterface *p)
virtual StatusCode addBranches(const EventContext &ctx) const override
StatusCode performSearch(std::vector< Trk::VxCascadeInfo * > *cascadeinfoContainer, const EventContext &ctx) const
SG::ReadHandleKey< xAOD::EventInfo > m_eventInfo_key
ToolHandle< Analysis::PrimaryVertexRefitter > m_pvRefitter
std::string m_VxPrimaryCandidateName
Name of primary vertex container // FIXME Use Handles.
ToolHandle< Trk::TrkVKalVrtFitter > m_iVertexFitter
std::vector< std::string > m_cascadeOutputsKeys
std::string m_hypoName
name of the mass hypothesis.
ToolHandle< DerivationFramework::CascadeTools > m_CascadeTools
ServiceHandle< IPartPropSvc > m_partPropSvc
virtual StatusCode initialize() override
Property holding a SG store/key/clid from which a ReadHandle is made.
Interface class for vertex fitting AlgTools, for more detailed information, take a look at the header...
THE reconstruction tool.
Ensure that the ATLAS eigen extensions are properly loaded.