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 #3529 from TaiSakuma/metdev-71X-140426_01
Reco -- change "double" to "float" in DataFormats/METReco
- Loading branch information
Showing
7 changed files
with
111 additions
and
119 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,38 +1,54 @@ | ||
#ifndef METReco_SpecificCaloMETData_h | ||
#define METReco_SpecificCaloMETData_h | ||
// -*- C++ -*- | ||
|
||
// Package: METReco | ||
// Class: SpecificCaloMETData | ||
// | ||
/** \class SpecificCaloMETData | ||
* | ||
* \short MET made from CaloTowers | ||
* | ||
* SpecificCaloMETData represents MET made from CaloTowers | ||
* Provide energy contributions from different subdetectors | ||
* in addition to generic MET parameters | ||
* | ||
* \author R. Cavanaugh, UFL | ||
* | ||
************************************************************/ | ||
SpecificCaloMETData represents MET made from CaloTowers Provide | ||
energy contributions from different subdetectors in addition to | ||
generic MET parameters | ||
*/ | ||
// | ||
// Authors: R. Cavanaugh, UFL | ||
// | ||
|
||
//____________________________________________________________________________|| | ||
#ifndef METReco_SpecificCaloMETData_h | ||
#define METReco_SpecificCaloMETData_h | ||
|
||
//____________________________________________________________________________|| | ||
struct SpecificCaloMETData | ||
{ | ||
double MaxEtInEmTowers; // Maximum ET in EM towers | ||
double MaxEtInHadTowers; // Maximum ET in HCAL towers | ||
double HadEtInHO; // Hadronic ET fraction in HO | ||
double HadEtInHB; // Hadronic ET in HB | ||
double HadEtInHF; // Hadronic ET in HF | ||
double HadEtInHE; // Hadronic ET in HE | ||
double EmEtInEB; // Em ET in EB | ||
double EmEtInEE; // Em ET in EE | ||
double EmEtInHF; // Em ET in HF | ||
double EtFractionHadronic; // Hadronic ET fraction | ||
double EtFractionEm; // Em ET fraction | ||
double METSignificance; // Em ET fraction | ||
double CaloMETInpHF; // CaloMET in HF+ | ||
double CaloMETInmHF; // CaloMET in HF- | ||
double CaloSETInpHF; // CaloSET in HF+ | ||
double CaloSETInmHF; // CaloSET in HF- | ||
double CaloMETPhiInpHF; // CaloMET-phi in HF+ | ||
double CaloMETPhiInmHF; // CaloMET-phi in HF- | ||
|
||
}; //public : struct SpecificCaloMETData | ||
#endif | ||
SpecificCaloMETData() | ||
: MaxEtInEmTowers(0.0), MaxEtInHadTowers(0.0) | ||
, HadEtInHO(0.0), HadEtInHB(0.0), HadEtInHF(0.0), HadEtInHE(0.0) | ||
, EmEtInEB(0.0), EmEtInEE(0.0), EmEtInHF(0.0), EtFractionHadronic(0.0) | ||
, EtFractionEm(0.0), METSignificance(0.0), CaloMETInpHF(0.0) | ||
, CaloMETInmHF(0.0), CaloSETInpHF(0.0), CaloSETInmHF(0.0) | ||
, CaloMETPhiInpHF(0.0), CaloMETPhiInmHF(0.0) { } | ||
|
||
float MaxEtInEmTowers; // Maximum ET in EM towers | ||
float MaxEtInHadTowers; // Maximum ET in HCAL towers | ||
float HadEtInHO; // Hadronic ET fraction in HO | ||
float HadEtInHB; // Hadronic ET in HB | ||
float HadEtInHF; // Hadronic ET in HF | ||
float HadEtInHE; // Hadronic ET in HE | ||
float EmEtInEB; // Em ET in EB | ||
float EmEtInEE; // Em ET in EE | ||
float EmEtInHF; // Em ET in HF | ||
float EtFractionHadronic; // Hadronic ET fraction | ||
float EtFractionEm; // Em ET fraction | ||
float METSignificance; // Em ET fraction | ||
float CaloMETInpHF; // CaloMET in HF+ | ||
float CaloMETInmHF; // CaloMET in HF- | ||
float CaloSETInpHF; // CaloSET in HF+ | ||
float CaloSETInmHF; // CaloSET in HF- | ||
float CaloMETPhiInpHF; // CaloMET-phi in HF+ | ||
float CaloMETPhiInmHF; // CaloMET-phi in HF- | ||
|
||
}; | ||
|
||
//____________________________________________________________________________|| | ||
#endif // METReco_SpecificCaloMETData_h |
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 |
---|---|---|
@@ -1,41 +1,45 @@ | ||
#ifndef METReco_SpecificGenMETData_h | ||
#define METReco_SpecificGenMETData_h | ||
// -*- C++ -*- | ||
|
||
// Package: METReco | ||
// Class: SpecificGenMETData | ||
// | ||
/** \class SpecificGenMETData | ||
* | ||
* \short MET made from CaloTowers | ||
* | ||
* SpecificGenMETData represents MET made from HEPMC particles | ||
* Provide energy contributions from different particles | ||
* in addition to generic MET parameters | ||
* | ||
* \author R. Cavanaugh, UFL | ||
* | ||
* | ||
************************************************************/ | ||
|
||
/* | ||
Revision: Sept. 29, 2009 | ||
Author : Ronald Remington | ||
Notes: Changed names of data members to align with those in PFMET. Should be integrated in CMSSW_3_4_X. | ||
SpecificGenMETData represents MET made from HEPMC particles | ||
Provide energy contributions from different particles in addition | ||
to generic MET parameters | ||
*/ | ||
// Authors: Richard Cavanaugh, Ronald Remington | ||
// | ||
|
||
|
||
//____________________________________________________________________________|| | ||
#ifndef METReco_SpecificGenMETData_h | ||
#define METReco_SpecificGenMETData_h | ||
|
||
//____________________________________________________________________________|| | ||
struct SpecificGenMETData | ||
{ | ||
double NeutralEMEtFraction ; | ||
double NeutralHadEtFraction ; | ||
double ChargedEMEtFraction ; | ||
double ChargedHadEtFraction ; | ||
double MuonEtFraction ; | ||
double InvisibleEtFraction ; | ||
|
||
//Old, obsolete datamembers (to be removed as soon as possible e.g 4_X_Y) | ||
double m_EmEnergy; // Event energy from EM particles | ||
double m_HadEnergy; // Event energy from Hadronic particles | ||
double m_InvisibleEnergy; // Event energy from neutrinos, etc | ||
double m_AuxiliaryEnergy; // Event energy from undecayed particles | ||
SpecificGenMETData() | ||
: NeutralEMEtFraction(0.0), NeutralHadEtFraction(0.0) | ||
, ChargedEMEtFraction(0.0), ChargedHadEtFraction(0.0) | ||
, MuonEtFraction(0.0), InvisibleEtFraction(0.0) { } | ||
|
||
float NeutralEMEtFraction; | ||
float NeutralHadEtFraction; | ||
float ChargedEMEtFraction; | ||
float ChargedHadEtFraction; | ||
float MuonEtFraction; | ||
float InvisibleEtFraction; | ||
|
||
//Old, obsolete datamembers (to be removed as soon as possible e.g 4_X_Y) | ||
float m_EmEnergy; // Event energy from EM particles | ||
float m_HadEnergy; // Event energy from Hadronic particles | ||
float m_InvisibleEnergy; // Event energy from neutrinos, etc | ||
float m_AuxiliaryEnergy; // Event energy from undecayed particles | ||
}; | ||
|
||
}; //public : struct SpecificGenMETData | ||
#endif | ||
//____________________________________________________________________________|| | ||
#endif // METReco_SpecificGenMETData_h |
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
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
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