ATLAS Offline Software
Loading...
Searching...
No Matches
TrigJpsi.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3*/
4
5/***************************************************************************
6
7***************************************************************************/
8#ifndef TRIGBPHYSICSEVENT_TRIGJPSI_H
9#define TRIGBPHYSICSEVENT_TRIGJPSI_H
10
11
12#include "CLHEP/Vector/LorentzVector.h"
14
16
18{
19
20public:
21
22 TrigJpsi();
23 TrigJpsi(const CombinedMuonFeature* jpsimuon1, const CombinedMuonFeature* jpsimuon2 );
24 ~TrigJpsi();
25
26 double mass() const { return m_hlvJ.m(); }
27 double eta() const { return m_hlvJ.pseudoRapidity(); }
28 double phi() const { return m_hlvJ.phi(); }
29 double et() const { return m_hlvJ.perp(); }
30 const CombinedMuonFeature* getDaughter(const int i) const ;
31 void setDaughters(const CombinedMuonFeature* jpsimuon1, const CombinedMuonFeature* jpsimuon2);
32
33private:
34
35 CLHEP::HepLorentzVector m_hlvJ; // Jpsi 4 momentum
36 const CombinedMuonFeature* m_jpsimuon[2]; // pointers to muon objects
37};
38
39CLASS_DEF(TrigJpsi, 164633928, 1)
40
41#endif
macros to associate a CLID to a type
#define CLASS_DEF(NAME, CID, VERSION)
associate a clid and a version to a type eg
void setDaughters(const CombinedMuonFeature *jpsimuon1, const CombinedMuonFeature *jpsimuon2)
Definition TrigJpsi.cxx:37
const CombinedMuonFeature * m_jpsimuon[2]
Definition TrigJpsi.h:36
CLHEP::HepLorentzVector m_hlvJ
Definition TrigJpsi.h:35
const CombinedMuonFeature * getDaughter(const int i) const
Definition TrigJpsi.cxx:29
double phi() const
Definition TrigJpsi.h:28
double et() const
Definition TrigJpsi.h:29
double mass() const
Definition TrigJpsi.h:26
double eta() const
Definition TrigJpsi.h:27