ATLAS Offline Software
Loading...
Searching...
No Matches
JpsiPlusDs1Cascade.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 JPSIPLUSDS1CASCADE_H
5#define JPSIPLUSDS1CASCADE_H
6//*********************
7// JpsiPlusDs1Cascade header file
8//
9// Eva Bouhova <e.bouhova@cern.ch>
10// Adam Barton <abarton@cern.ch>
11
13#include "GaudiKernel/ToolHandle.h"
17#include <vector>
18#include <memory>
20// dummy EventContext for AnalysisBase
22
23namespace Trk {
24 class IVertexFitter;
25 class TrkVKalVrtFitter;
27 class VxCascadeInfo;
28 class V0Tools;
29}
30
31namespace DerivationFramework {
32 class CascadeTools;
33}
34
35namespace DerivationFramework {
36
37 class JpsiPlusDs1Cascade : public extends<AthAlgTool, IAugmentationTool>
38 {
39 public:
40 JpsiPlusDs1Cascade(const std::string& t, const std::string& n, const IInterface* p);
42 virtual StatusCode initialize() override;
43 StatusCode performSearch(std::vector<Trk::VxCascadeInfo*> *cascadeinfoContainer, const EventContext& ctx ) const;
44 virtual StatusCode addBranches(const EventContext& ctx) const override;
45
46 private:
47 std::string m_vertexContainerKey; // FIXME Use Handles
48 std::string m_vertexD0ContainerKey; // FIXME Use Handles
49 std::string m_vertexK0ContainerKey; // FIXME Use Handles
50 std::vector<std::string> m_cascadeOutputsKeys; // FIXME Use Handles
51
53
66 double m_vtx0MassHypo; // mass hypothesis of vertex 0
67 double m_vtx1MassHypo; // mass hypothesis of vertex 1
68 double m_vtx2MassHypo; // mass hypothesis of vertex 2
69 double m_vtx0Daug1MassHypo; // mass hypothesis of 1st daughter from vertex 0
70 double m_vtx0Daug2MassHypo; // mass hypothesis of 2nd daughter from vertex 0
71 double m_vtx0Daug3MassHypo; // mass hypothesis of 3rd daughter from vertex 0
72 double m_vtx1Daug1MassHypo; // mass hypothesis of 1st daughter from vertex 1
73 double m_vtx1Daug2MassHypo; // mass hypothesis of 2nd daughter from vertex 1
74 double m_vtx2Daug1MassHypo; // mass hypothesis of 1st daughter from vertex 2
75 double m_vtx2Daug2MassHypo; // mass hypothesis of 2nd daughter from vertex 2
76
82 double m_chi2cut;
83
84 SG::ReadHandleKey<xAOD::EventInfo> m_eventInfo_key{this, "EventInfo", "EventInfo", "Input event information"};
85 ToolHandle < Trk::TrkVKalVrtFitter > m_iVertexFitter;
86 PublicToolHandle < Analysis::PrimaryVertexRefitter > m_pvRefitter;
87 PublicToolHandle < Trk::V0Tools > m_V0Tools;
88 PublicToolHandle < DerivationFramework::CascadeTools > m_CascadeTools;
91 std::string m_hypoName;
92 //This parameter will allow us to optimize the number of PVs under consideration as the probability
93 //of a useful primary vertex drops significantly the higher you go
97
98 double getParticleMass(int particlecode) const;
99 };
100}
101
102#endif
std::vector< std::string > m_cascadeOutputsKeys
double getParticleMass(int particlecode) const
PublicToolHandle< DerivationFramework::CascadeTools > m_CascadeTools
PublicToolHandle< Trk::V0Tools > m_V0Tools
std::string m_hypoName
name of the mass hypothesis.
JpsiPlusDs1Cascade(const std::string &t, const std::string &n, const IInterface *p)
ToolHandle< Trk::TrkVKalVrtFitter > m_iVertexFitter
virtual StatusCode initialize() override
virtual StatusCode addBranches(const EventContext &ctx) const override
std::string m_VxPrimaryCandidateName
Name of primary vertex container // FIXME Use Handles.
PublicToolHandle< Analysis::PrimaryVertexRefitter > m_pvRefitter
SG::ReadHandleKey< xAOD::EventInfo > m_eventInfo_key
StatusCode performSearch(std::vector< Trk::VxCascadeInfo * > *cascadeinfoContainer, const EventContext &ctx) const
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.