-
Notifications
You must be signed in to change notification settings - Fork 4.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #32078 from jsalfeld/changeTrackMuonDataformatsSco…
…uting111X Change track muon dataformats scouting (11.1.x)
- Loading branch information
Showing
19 changed files
with
1,460 additions
and
123 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,101 @@ | ||
#ifndef DataFormats_Run3ScoutingCaloJet_h | ||
#define DataFormats_Run3ScoutingCaloJet_h | ||
|
||
#include <vector> | ||
|
||
//class for holding calo jet information, for use in data scouting | ||
//IMPORTANT: the content of this class should be changed only in backwards compatible ways! | ||
class Run3ScoutingCaloJet { | ||
public: | ||
//constructor with values for all data fields | ||
Run3ScoutingCaloJet(float pt, | ||
float eta, | ||
float phi, | ||
float m, | ||
float jetArea, | ||
float maxEInEmTowers, | ||
float maxEInHadTowers, | ||
float hadEnergyInHB, | ||
float hadEnergyInHE, | ||
float hadEnergyInHF, | ||
float emEnergyInEB, | ||
float emEnergyInEE, | ||
float emEnergyInHF, | ||
float towersArea, | ||
float mvaDiscriminator, | ||
float btagDiscriminator) | ||
: pt_(pt), | ||
eta_(eta), | ||
phi_(phi), | ||
m_(m), | ||
jetArea_(jetArea), | ||
maxEInEmTowers_(maxEInEmTowers), | ||
maxEInHadTowers_(maxEInHadTowers), | ||
hadEnergyInHB_(hadEnergyInHB), | ||
hadEnergyInHE_(hadEnergyInHE), | ||
hadEnergyInHF_(hadEnergyInHF), | ||
emEnergyInEB_(emEnergyInEB), | ||
emEnergyInEE_(emEnergyInEE), | ||
emEnergyInHF_(emEnergyInHF), | ||
towersArea_(towersArea), | ||
mvaDiscriminator_(mvaDiscriminator), | ||
btagDiscriminator_(btagDiscriminator) {} | ||
//default constructor | ||
Run3ScoutingCaloJet() | ||
: pt_(0), | ||
eta_(0), | ||
phi_(0), | ||
m_(0), | ||
jetArea_(0), | ||
maxEInEmTowers_(0), | ||
maxEInHadTowers_(0), | ||
hadEnergyInHB_(0), | ||
hadEnergyInHE_(0), | ||
hadEnergyInHF_(0), | ||
emEnergyInEB_(0), | ||
emEnergyInEE_(0), | ||
emEnergyInHF_(0), | ||
towersArea_(0), | ||
mvaDiscriminator_(0), | ||
btagDiscriminator_(0) {} | ||
|
||
//accessor functions | ||
float pt() const { return pt_; } | ||
float eta() const { return eta_; } | ||
float phi() const { return phi_; } | ||
float m() const { return m_; } | ||
float jetArea() const { return jetArea_; } | ||
float maxEInEmTowers() const { return maxEInEmTowers_; } | ||
float maxEInHadTowers() const { return maxEInHadTowers_; } | ||
float hadEnergyInHB() const { return hadEnergyInHB_; } | ||
float hadEnergyInHE() const { return hadEnergyInHE_; } | ||
float hadEnergyInHF() const { return hadEnergyInHF_; } | ||
float emEnergyInEB() const { return emEnergyInEB_; } | ||
float emEnergyInEE() const { return emEnergyInEE_; } | ||
float emEnergyInHF() const { return emEnergyInHF_; } | ||
float towersArea() const { return towersArea_; } | ||
float mvaDiscriminator() const { return mvaDiscriminator_; } | ||
float btagDiscriminator() const { return btagDiscriminator_; } | ||
|
||
private: | ||
float pt_; | ||
float eta_; | ||
float phi_; | ||
float m_; | ||
float jetArea_; | ||
float maxEInEmTowers_; | ||
float maxEInHadTowers_; | ||
float hadEnergyInHB_; | ||
float hadEnergyInHE_; | ||
float hadEnergyInHF_; | ||
float emEnergyInEB_; | ||
float emEnergyInEE_; | ||
float emEnergyInHF_; | ||
float towersArea_; | ||
float mvaDiscriminator_; | ||
float btagDiscriminator_; | ||
}; | ||
|
||
typedef std::vector<Run3ScoutingCaloJet> Run3ScoutingCaloJetCollection; | ||
|
||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,129 @@ | ||
#ifndef DataFormats_Run3ScoutingElectron_h | ||
#define DataFormats_Run3ScoutingElectron_h | ||
|
||
#include <vector> | ||
|
||
// Class for holding electron information, for use in data scouting | ||
// IMPORTANT: the content of this class should be changed only in backwards compatible ways! | ||
class Run3ScoutingElectron { | ||
public: | ||
//constructor with values for all data fields | ||
Run3ScoutingElectron(float pt, | ||
float eta, | ||
float phi, | ||
float m, | ||
float d0, | ||
float dz, | ||
float dEtaIn, | ||
float dPhiIn, | ||
float sigmaIetaIeta, | ||
float hOverE, | ||
float ooEMOop, | ||
int missingHits, | ||
int charge, | ||
float ecalIso, | ||
float hcalIso, | ||
float trackIso, | ||
float r9, | ||
float sMin, | ||
float sMaj, | ||
unsigned int seedId, | ||
std::vector<float> energyMatrix, | ||
std::vector<float> timingMatrix) | ||
: pt_(pt), | ||
eta_(eta), | ||
phi_(phi), | ||
m_(m), | ||
d0_(d0), | ||
dz_(dz), | ||
dEtaIn_(dEtaIn), | ||
dPhiIn_(dPhiIn), | ||
sigmaIetaIeta_(sigmaIetaIeta), | ||
hOverE_(hOverE), | ||
ooEMOop_(ooEMOop), | ||
missingHits_(missingHits), | ||
charge_(charge), | ||
ecalIso_(ecalIso), | ||
hcalIso_(hcalIso), | ||
trackIso_(trackIso), | ||
r9_(r9), | ||
sMin_(sMin), | ||
sMaj_(sMaj), | ||
seedId_(seedId), | ||
energyMatrix_(std::move(energyMatrix)), | ||
timingMatrix_(std::move(timingMatrix)) {} | ||
//default constructor | ||
Run3ScoutingElectron() | ||
: pt_(0), | ||
eta_(0), | ||
phi_(0), | ||
m_(0), | ||
d0_(0), | ||
dz_(0), | ||
dEtaIn_(0), | ||
dPhiIn_(0), | ||
sigmaIetaIeta_(0), | ||
hOverE_(0), | ||
ooEMOop_(0), | ||
missingHits_(0), | ||
charge_(0), | ||
ecalIso_(0), | ||
hcalIso_(0), | ||
trackIso_(0), | ||
r9_(0), | ||
sMin_(0), | ||
sMaj_(0), | ||
seedId_(0) {} | ||
|
||
//accessor functions | ||
float pt() const { return pt_; } | ||
float eta() const { return eta_; } | ||
float phi() const { return phi_; } | ||
float m() const { return m_; } | ||
float d0() const { return d0_; } | ||
float dz() const { return dz_; } | ||
float dEtaIn() const { return dEtaIn_; } | ||
float dPhiIn() const { return dPhiIn_; } | ||
float sigmaIetaIeta() const { return sigmaIetaIeta_; } | ||
float hOverE() const { return hOverE_; } | ||
float ooEMOop() const { return ooEMOop_; } | ||
int missingHits() const { return missingHits_; } | ||
int charge() const { return charge_; } | ||
float ecalIso() const { return ecalIso_; } | ||
float hcalIso() const { return hcalIso_; } | ||
float trackIso() const { return trackIso_; } | ||
float r9() const { return r9_; } | ||
float sMin() const { return sMin_; } | ||
float sMaj() const { return sMaj_; } | ||
unsigned int seedId() const { return seedId_; } | ||
std::vector<float> const& energyMatrix() const { return energyMatrix_; } | ||
std::vector<float> const& timingMatrix() const { return timingMatrix_; } | ||
|
||
private: | ||
float pt_; | ||
float eta_; | ||
float phi_; | ||
float m_; | ||
float d0_; | ||
float dz_; | ||
float dEtaIn_; | ||
float dPhiIn_; | ||
float sigmaIetaIeta_; | ||
float hOverE_; | ||
float ooEMOop_; | ||
int missingHits_; | ||
int charge_; | ||
float ecalIso_; | ||
float hcalIso_; | ||
float trackIso_; | ||
float r9_; | ||
float sMin_; | ||
float sMaj_; | ||
unsigned int seedId_; | ||
std::vector<float> energyMatrix_; | ||
std::vector<float> timingMatrix_; | ||
}; | ||
|
||
typedef std::vector<Run3ScoutingElectron> Run3ScoutingElectronCollection; | ||
|
||
#endif |
Oops, something went wrong.