#include <GenMuonPair.h>
Public Member Functions | |
void | copy (const GenMuonPair ©Pair) |
Used to copy the content of another GenMuonPair. More... | |
GenMuonPair () | |
GenMuonPair (const lorentzVector &inputMu1, const lorentzVector &inputMu2, const int inputMotherId) | |
Public Attributes | |
Int_t | motherId |
lorentzVector | mu1 |
lorentzVector | mu2 |
For simplicity we use a different class than for reco used to save the gen muon pairs in a root tree.
The reason is that there is no need for a map in this case as there is only one collection of generated muons.
Additionally we want to save the motherId (we could have done using one of the unsigned int in the MuonPair class, but this way the name of the datamember is more explicative).
If it will be needed, it will be straightforward to migrate also the genMuons to use the MuonPair class.
Definition at line 18 of file GenMuonPair.h.
|
inline |
Definition at line 21 of file GenMuonPair.h.
|
inline |
|
inline |
Used to copy the content of another GenMuonPair.
Definition at line 41 of file GenMuonPair.h.
References motherId, mu1, and mu2.
Referenced by RootTreeHandler::writeTree().
Int_t GenMuonPair::motherId |
Definition at line 50 of file GenMuonPair.h.
Referenced by copy(), MuScleFitMuonSelector::findGenMuFromRes(), and GenMuonPair().
lorentzVector GenMuonPair::mu1 |
Definition at line 48 of file GenMuonPair.h.
Referenced by copy(), MuScleFitMuonSelector::findGenMuFromRes(), and RootTreeHandler::readTree().
lorentzVector GenMuonPair::mu2 |
Definition at line 49 of file GenMuonPair.h.
Referenced by copy(), MuScleFitMuonSelector::findGenMuFromRes(), and RootTreeHandler::readTree().