#include <FourMuonTool.h>
Definition at line 36 of file FourMuonTool.h.
◆ combinationCharges()
| std::string DerivationFramework::Combination::combinationCharges |
( |
| ) |
|
|
inline |
Definition at line 42 of file FourMuonTool.h.
42 {
43 std::string chargeStr = "";
44 if (
muons.at(0)->charge() > 0) {chargeStr +=
"+";}
45 else {chargeStr += "-";}
46 if (
muons.at(1)->charge() > 0) {chargeStr +=
"+";}
47 else {chargeStr += "-";}
48 if (
muons.size()==4) {
49 if (
muons.at(2)->charge() > 0) {chargeStr +=
"+";}
50 else {chargeStr += "-";}
51 if (
muons.at(3)->charge() > 0) {chargeStr +=
"+";}
52 else {chargeStr += "-";}
53 }
54 return chargeStr;
55 }
std::vector< const xAOD::Muon * > muons
◆ combinationIndices()
| std::string DerivationFramework::Combination::combinationIndices |
( |
| ) |
|
|
inline |
Definition at line 57 of file FourMuonTool.h.
57 {
58 std::string indexStr = "";
60 if (
muons.size()==2) {
61 ss.str(
"");
ss.clear();
64 ss.str(
"");
ss.clear();
67 }
68 if (
muons.size()==4) {
69 for (
unsigned int i=0;
i<4; ++
i) {
70 ss.str(
"");
ss.clear();
73 }
74 }
75 return indexStr;
76 }
std::vector< unsigned int > quadIndices
std::pair< unsigned int, unsigned int > pairIndices
◆ GetMuonTrack()
Definition at line 78 of file FourMuonTool.h.
78 {
79 return mu->trackParticle(xAOD::Muon::TrackParticleType::InnerDetectorTrackParticle);
80 }
◆ trackParticles()
Definition at line 82 of file FourMuonTool.h.
82 {
83 std::vector<const xAOD::TrackParticle*> theTracks;
84 bool oppCh(false);
85 if (
muons.at(0)->charge()*
muons.at(1)->charge() < 0) oppCh=
true;
86 if (specify=="pair1") {
89 }
90 if (specify=="pair2") {
93 }
94 if (specify=="DC") {
95 if (oppCh) {
100 } else {
105 }
106 }
107 if (specify=="AC") {
112 }
113 if (specify=="SS") {
114 if (oppCh) {
119 } else {
124 }
125 }
126 return theTracks;
127 }
const xAOD::TrackParticle * GetMuonTrack(const xAOD::Muon *mu) const
◆ muons
◆ pairIndices
| std::pair<unsigned int, unsigned int> DerivationFramework::Combination::pairIndices |
◆ quadIndices
| std::vector<unsigned int> DerivationFramework::Combination::quadIndices |
The documentation for this struct was generated from the following file: