Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ALCA] Apply code-checks/format #34127

Merged
merged 2 commits into from
Jun 18, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
70 changes: 35 additions & 35 deletions CalibCalorimetry/CastorCalib/interface/CastorDbXml.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,13 @@ namespace CastorDbXml {
const std::string& fTag,
unsigned fVersion,
const CastorPedestals& fObject);
bool dumpObject(std::ostream& fOutput,
unsigned fRun,
unsigned long fGMTIOVBegin,
unsigned long fGMTIOVEnd,
const std::string& fTag,
unsigned fVersion,
const CastorPedestalWidths& fObject) {
inline bool dumpObject(std::ostream& fOutput,
unsigned fRun,
unsigned long fGMTIOVBegin,
unsigned long fGMTIOVEnd,
const std::string& fTag,
unsigned fVersion,
const CastorPedestalWidths& fObject) {
return false;
}
bool dumpObject(std::ostream& fOutput,
Expand All @@ -50,40 +50,40 @@ namespace CastorDbXml {
const std::string& fTag,
unsigned fVersion,
const CastorGains& fObject);
bool dumpObject(std::ostream& fOutput,
unsigned fRun,
unsigned long fGMTIOVBegin,
unsigned long fGMTIOVEnd,
const std::string& fTag,
unsigned fVersion,
const CastorGainWidths& fObject) {
inline bool dumpObject(std::ostream& fOutput,
unsigned fRun,
unsigned long fGMTIOVBegin,
unsigned long fGMTIOVEnd,
const std::string& fTag,
unsigned fVersion,
const CastorGainWidths& fObject) {
return false;
}
bool dumpObject(std::ostream& fOutput,
unsigned fRun,
unsigned long fGMTIOVBegin,
unsigned long fGMTIOVEnd,
const std::string& fTag,
unsigned fVersion,
const CastorElectronicsMap& fObject) {
inline bool dumpObject(std::ostream& fOutput,
unsigned fRun,
unsigned long fGMTIOVBegin,
unsigned long fGMTIOVEnd,
const std::string& fTag,
unsigned fVersion,
const CastorElectronicsMap& fObject) {
return false;
}
bool dumpObject(std::ostream& fOutput,
unsigned fRun,
unsigned long fGMTIOVBegin,
unsigned long fGMTIOVEnd,
const std::string& fTag,
unsigned fVersion,
const CastorQIEData& fObject) {
inline bool dumpObject(std::ostream& fOutput,
unsigned fRun,
unsigned long fGMTIOVBegin,
unsigned long fGMTIOVEnd,
const std::string& fTag,
unsigned fVersion,
const CastorQIEData& fObject) {
return false;
}
bool dumpObject(std::ostream& fOutput,
unsigned fRun,
unsigned long fGMTIOVBegin,
unsigned long fGMTIOVEnd,
const std::string& fTag,
unsigned fVersion,
const CastorCalibrationQIEData& fObject) {
inline bool dumpObject(std::ostream& fOutput,
unsigned fRun,
unsigned long fGMTIOVBegin,
unsigned long fGMTIOVEnd,
const std::string& fTag,
unsigned fVersion,
const CastorCalibrationQIEData& fObject) {
return false;
}
} // namespace CastorDbXml
Expand Down
98 changes: 49 additions & 49 deletions CalibCalorimetry/HcalAlgos/interface/HcalDbXml.h
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,13 @@ namespace HcalDbXml {
const std::string& fTag,
unsigned fVersion,
const HcalPedestals& fObject);
bool dumpObject(std::ostream& fOutput,
unsigned fRun,
unsigned long fGMTIOVBegin,
unsigned long fGMTIOVEnd,
const std::string& fTag,
unsigned fVersion,
const HcalPedestalWidths& fObject) {
inline bool dumpObject(std::ostream& fOutput,
unsigned fRun,
unsigned long fGMTIOVBegin,
unsigned long fGMTIOVEnd,
const std::string& fTag,
unsigned fVersion,
const HcalPedestalWidths& fObject) {
return false;
}
bool dumpObject(std::ostream& fOutput,
Expand All @@ -54,58 +54,58 @@ namespace HcalDbXml {
const std::string& fTag,
unsigned fVersion,
const HcalGains& fObject);
bool dumpObject(std::ostream& fOutput,
unsigned fRun,
unsigned long fGMTIOVBegin,
unsigned long fGMTIOVEnd,
const std::string& fTag,
unsigned fVersion,
const HcalGainWidths& fObject) {
inline bool dumpObject(std::ostream& fOutput,
unsigned fRun,
unsigned long fGMTIOVBegin,
unsigned long fGMTIOVEnd,
const std::string& fTag,
unsigned fVersion,
const HcalGainWidths& fObject) {
return false;
}
bool dumpObject(std::ostream& fOutput,
unsigned fRun,
unsigned long fGMTIOVBegin,
unsigned long fGMTIOVEnd,
const std::string& fTag,
unsigned fVersion,
const HcalElectronicsMap& fObject) {
inline bool dumpObject(std::ostream& fOutput,
unsigned fRun,
unsigned long fGMTIOVBegin,
unsigned long fGMTIOVEnd,
const std::string& fTag,
unsigned fVersion,
const HcalElectronicsMap& fObject) {
return false;
}
bool dumpObject(std::ostream& fOutput,
unsigned fRun,
unsigned long fGMTIOVBegin,
unsigned long fGMTIOVEnd,
const std::string& fTag,
unsigned fVersion,
const HcalQIEData& fObject) {
inline bool dumpObject(std::ostream& fOutput,
unsigned fRun,
unsigned long fGMTIOVBegin,
unsigned long fGMTIOVEnd,
const std::string& fTag,
unsigned fVersion,
const HcalQIEData& fObject) {
return false;
}
bool dumpObject(std::ostream& fOutput,
unsigned fRun,
unsigned long fGMTIOVBegin,
unsigned long fGMTIOVEnd,
const std::string& fTag,
unsigned fVersion,
const HcalCalibrationQIEData& fObject) {
inline bool dumpObject(std::ostream& fOutput,
unsigned fRun,
unsigned long fGMTIOVBegin,
unsigned long fGMTIOVEnd,
const std::string& fTag,
unsigned fVersion,
const HcalCalibrationQIEData& fObject) {
return false;
}
bool dumpObject(std::ostream& fOutput,
unsigned fRun,
unsigned long fGMTIOVBegin,
unsigned long fGMTIOVEnd,
const std::string& fTag,
unsigned fVersion,
const HcalQIETypes& fObject) {
inline bool dumpObject(std::ostream& fOutput,
unsigned fRun,
unsigned long fGMTIOVBegin,
unsigned long fGMTIOVEnd,
const std::string& fTag,
unsigned fVersion,
const HcalQIETypes& fObject) {
return false;
}
bool dumpObject(std::ostream& fOutput,
unsigned fRun,
unsigned long fGMTIOVBegin,
unsigned long fGMTIOVEnd,
const std::string& fTag,
unsigned fVersion,
const HcalFrontEndMap& fObject) {
inline bool dumpObject(std::ostream& fOutput,
unsigned fRun,
unsigned long fGMTIOVBegin,
unsigned long fGMTIOVEnd,
const std::string& fTag,
unsigned fVersion,
const HcalFrontEndMap& fObject) {
return false;
}
bool dumpObject(std::ostream& fOutput,
Expand Down
4 changes: 2 additions & 2 deletions Calibration/HcalCalibAlgos/interface/hcalCalib.h
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ class hcalCalib : public TSelector {
#endif

#ifdef hcalCalib_cxx
void hcalCalib::Init(TTree *tree) {
inline void hcalCalib::Init(TTree *tree) {
// The Init() function is called when the selector needs to initialize
// a new tree or chain. Typically here the branch addresses and branch
// pointers of the tree will be set.
Expand Down Expand Up @@ -250,7 +250,7 @@ void hcalCalib::Init(TTree *tree) {
fChain->SetBranchAddress("probeJetP4", &probeJetP4, &b_probeJetP4);
}

Bool_t hcalCalib::Notify() {
inline Bool_t hcalCalib::Notify() {
// The Notify() function is called when a new file is opened. This
// can be either for a new TTree in a TChain or when when a new TTree
// is started when using PROOF. It is normaly not necessary to make changes
Expand Down
2 changes: 1 addition & 1 deletion Calibration/IsolatedParticles/interface/CaloSimInfo.icc
Original file line number Diff line number Diff line change
Expand Up @@ -435,7 +435,7 @@ namespace spr {
}
}

std::map<std::string, double> eCaloSimInfo(spr::caloSimInfo& info) {
inline std::map<std::string, double> eCaloSimInfo(spr::caloSimInfo& info) {
std::map<std::string, double> simInfo;
simInfo.insert(std::pair<std::string, double>("eMatched", info.eMatched));
simInfo.insert(std::pair<std::string, double>("pdgMatched", info.pdgMatched));
Expand Down