|
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef MSVTXVALIDATIONALG_H
6 #define MSVTXVALIDATIONALG_H
11 #include <TLorentzVector.h>
19 #include "GaudiKernel/ITHistSvc.h"
20 #include "GaudiKernel/SystemOfUnits.h"
59 Gaudi::Property<std::string>
m_MuonSegKey{
this,
"MuonSegmentsKey",
"MuonSegments"};
61 Gaudi::Property<bool>
m_readJets{
this,
"readJets",
false,
"add jet information to the tree"};
62 Gaudi::Property<bool>
m_readMET{
this,
"readMET",
false,
"add met information to the tree"};
63 Gaudi::Property<bool>
m_computeIso{
this,
"computeIso",
false,
"add vertex isolation variables to the tree"};
65 Gaudi::Property<int>
m_pdgId_portal{
this,
"pdgId_portal", 25,
"Truth portal PDGId"};
66 Gaudi::Property<int>
m_pdgId_llp{
this,
"pdgId_llp", 35,
"Truth LLP PDGId"};
68 Gaudi::Property<float>
m_softTrackIso_R{
this,
"softTrackIso_R", 0.2,
"cone radius around vertex to sum up track pT"};
70 Gaudi::Property<float>
m_jetIso_LogRatio{
this,
"jetIso_LogRatio", 0.5,
"max log ECal/HCal ratio for jet to be considered for isolation"};
89 std::shared_ptr<MuonVal::IParticleFourMomBranch>
m_portal{
nullptr};
93 std::shared_ptr<MuonVal::IParticleFourMomBranch>
m_llp{
nullptr};
100 std::shared_ptr<MuonVal::ThreeVectorBranch>
m_llpVtx{
nullptr};
106 std::shared_ptr<MuonVal::ThreeVectorBranch>
m_msVtx{
nullptr};
149 std::shared_ptr<MuonPRDTest::SegmentVariables>
m_muonSeg{
nullptr};
152 std::shared_ptr<MuonVal::IParticleFourMomBranch>
m_jet{
nullptr};
177 #endif // MSVTXVALIDATIONALG_H
MuonVal::VectorBranch< int > & m_llpKid_pdgid
Property holding a SG store/key/clid from which a ReadHandle is made.
MuonVal::VectorBranch< int > & m_msVtx_nTGC
MuonVal::VectorBranch< float > & m_trklet_q
Gaudi::Property< float > m_softTrackIso_R
AthHistogramAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters:
MuonVal::VectorBranch< float > & m_msVtx_chi2
MuonVal::MuonTesterTree m_tree
std::shared_ptr< MuonPRDTest::SegmentVariables > m_muonSeg
StatusCode fillTruth(const EventContext &ctx)
TH1F * m_h_subleadLLPctau
MuonVal::ScalarBranch< int > & m_portal_N
virtual StatusCode finalize() override final
SG::ReadHandleKey< xAOD::TrackParticleContainer > m_TrackParticleKey
MuonVal::VectorBranch< int > & m_msVtx_nTGC_M
MuonVal::VectorBranch< int > & m_llp_Nkids
MuonVal::VectorBranch< int > & m_msVtx_Ntrklet
MuonVal::ScalarBranch< float > & m_met_y
MuonVal::VectorBranch< int > & m_msVtx_nRPC_M
MuonVal::ScalarBranch< float > & m_met_phi
MuonVal::VectorBranch< int > & m_msVtx_nRPC_E
MuonVal::VectorBranch< float > & m_llpVtx_Lxy
StatusCode fillMSVtx(const EventContext &ctx)
SG::ReadHandleKey< xAOD::JetContainer > m_JetKey
MuonVal::ScalarBranch< int > & m_llpVtx_N
MuonVal::VectorBranch< int > & m_msVtx_nMDT_M
SG::ReadHandleKey< xAOD::VertexContainer > m_MSVtxKey
MuonVal::VectorBranch< int > & m_msVtx_nTGC_inwards
Gaudi::Property< float > m_trackIso_pT
MuonVal::VectorBranch< int > & m_msVtx_nTGC_E
StatusCode fillJet(const EventContext &ctx)
Gaudi::Property< bool > m_computeIso
MuonVal::ScalarBranch< float > & m_met_x
MuonVal::VectorBranch< float > & m_trklet_z0
MuonVal::VectorBranch< float > & m_msVtx_isoJets_mindR
MuonVal::ScalarBranch< float > & m_met
std::shared_ptr< MuonVal::ThreeVectorBranch > m_llpVtx
std::shared_ptr< MuonVal::IParticleFourMomBranch > m_jet
Gaudi::Property< bool > m_readMET
MuonVal::VectorBranch< int > & m_msVtx_nRPC_I
MuonVal::VectorBranch< int > & m_msVtx_nDoF
MuonVal::VectorBranch< int > & m_msVtx_nRPC
MuonVal::VectorBranch< int > & m_llpKid_llpLink
MuonVal::VectorBranch< int > & m_msVtx_nMDT_inwards
MuonVal::VectorBranch< float > & m_trklet_theta
StatusCode fillMSVtxIso(const EventContext &ctx)
Gaudi::Property< int > m_pdgId_portal
std::shared_ptr< MuonVal::IParticleFourMomBranch > m_portal
Gaudi::Property< float > m_jetIso_pT
MuonVal::ScalarBranch< int > & m_msVtx_N
std::shared_ptr< MuonVal::ThreeVectorBranch > m_msVtx
MuonVal::VectorBranch< float > & m_msVtx_isoTracks_pTsum
virtual StatusCode execute() override final
::StatusCode StatusCode
StatusCode definition for legacy code.
virtual StatusCode initialize() override final
MuonVal::VectorBranch< int > & m_msVtx_nMDT_O
MuonVal::VectorBranch< int > & m_msVtx_nTGC_I
MuonVal::ScalarBranch< float > & m_sumEt
StatusCode fillMuonSegments(const EventContext &ctx)
MuonVal::VectorBranch< int > & m_msVtx_nMDT
MuonVal::ScalarBranch< int > & m_llp_N
MuonVal::VectorBranch< float > & m_trklet_d0
VectorBranch< T > & newVector(const std::string &name)
Creates new branches and returns their reference.
MuonVal::ScalarBranch< int > & m_jet_N
std::shared_ptr< MuonVal::ThreeVectorBranch > m_trklet_pos
MuonVal::VectorBranch< float > & m_msVtx_isoTracks_mindR
MuonVal::VectorBranch< int > & m_msVtx_nMDT_E
Gaudi::Property< float > m_jetIso_LogRatio
MuonVal::VectorBranch< float > & m_trklet_phi
SG::ReadHandleKey< xAOD::TruthParticleContainer > m_TruthParticleKey
ScalarBranch< T > & newScalar(const std::string &name)
MuonVal::VectorBranch< int > & m_trklet_vtxLink
MuonVal::VectorBranch< int > & m_msVtx_nRPC_O
MuonVal::VectorBranch< float > & m_llpVtx_ctau
Gaudi::Property< int > m_pdgId_llp
MuonVal::VectorBranch< int > & m_msVtx_nMDT_I
std::shared_ptr< MuonVal::IParticleFourMomBranch > m_llp
SG::ReadHandleKey< xAOD::EventInfo > m_evtKey
SG::ReadHandleKey< xAOD::MissingETContainer > m_MetKey
MuonVal::VectorBranch< float > & m_trklet_eta
Class describing a Vertex.
MuonVal::VectorBranch< float > & m_trklet_qOverP
MuonVal::VectorBranch< int > & m_msVtx_nTGC_O
void fillHits(const xAOD::Vertex *vtx, const std::string &decorator_str, MuonVal::VectorBranch< int > &branch)
std::shared_ptr< MuonVal::ThreeVectorBranch > m_trklet_mom
MuonVal::ScalarBranch< int > & m_trklet_N
MuonVal::VectorBranch< int > & m_msVtx_nRPC_inwards
def TH1F(name, title, nxbins, bins_par2, bins_par3=None, path='', **kwargs)
Handle class for reading from StoreGate.
Gaudi::Property< std::string > m_MuonSegKey
SG::ReadHandleKey< xAOD::TrackParticleContainer > m_TrackletKey
StatusCode fillTracklets(const EventContext &ctx)
Gaudi::Property< bool > m_readJets
StatusCode fillMet(const EventContext &ctx)