ATLAS Offline Software
Loading...
Searching...
No Matches
JpsiPlusDpstCascade.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 JPSIPLUSDPSTCASCADE_H
5#define JPSIPLUSDPSTCASCADE_H
6//*********************
7// JpsiPlusDpstCascade 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 JpsiPlusDpstCascade : public extends<AthAlgTool, IAugmentationTool>
37 {
38 public:
39 JpsiPlusDpstCascade(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_vertexD0ContainerKey; // FIXME Use Handles
48 std::vector<std::string> m_cascadeOutputsKeys; // FIXME Use Handles
49
51
62 double m_vtx0MassHypo; // mass hypothesis of vertex 0
63 double m_vtx1MassHypo; // mass hypothesis of vertex 1
64 double m_vtx0Daug1MassHypo; // mass hypothesis of 1st daughter from vertex 0
65 double m_vtx0Daug2MassHypo; // mass hypothesis of 2nd daughter from vertex 0
66 double m_vtx0Daug3MassHypo; // mass hypothesis of 3rd daughter from vertex 0
67 double m_vtx1Daug1MassHypo; // mass hypothesis of 1st daughter from vertex 1
68 double m_vtx1Daug2MassHypo; // mass hypothesis of 2nd daughter from vertex 1
69
70
75 double m_chi2cut;
76
77 SG::ReadHandleKey<xAOD::EventInfo> m_eventInfo_key{this, "EventInfo", "EventInfo", "Input event information"};
78 ToolHandle < Trk::TrkVKalVrtFitter > m_iVertexFitter;
79 ToolHandle < Analysis::PrimaryVertexRefitter > m_pvRefitter;
80 ToolHandle < Trk::V0Tools > m_V0Tools;
81 ToolHandle < DerivationFramework::CascadeTools > m_CascadeTools;
82 ServiceHandle<IPartPropSvc> m_partPropSvc{this, "PartPropSvc", "PartPropSvc"};
83
86 std::string m_hypoName;
87 //This parameter will allow us to optimize the number of PVs under consideration as the probability
88 //of a useful primary vertex drops significantly the higher you go
92
93 };
94}
95
96#endif
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< Analysis::PrimaryVertexRefitter > m_pvRefitter
SG::ReadHandleKey< xAOD::EventInfo > m_eventInfo_key
ServiceHandle< IPartPropSvc > m_partPropSvc
JpsiPlusDpstCascade(const std::string &t, const std::string &n, const IInterface *p)
StatusCode performSearch(std::vector< Trk::VxCascadeInfo * > *cascadeinfoContainer, const EventContext &ctx) const
ToolHandle< DerivationFramework::CascadeTools > m_CascadeTools
virtual StatusCode addBranches(const EventContext &ctx) const 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.