-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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] [GCC12] Fix build warnings #39520
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -531,7 +531,7 @@ class TEcnaRead : public TObject { | |
TMatrixD ReadHighFrequencyMeanCorrelationsBetweenStins(const Int_t &); // 1 of (Stin,Stin) | ||
|
||
//------------------------------------------------------------------------------------------------ | ||
TString GetAnalysisName(); | ||
const TString &GetAnalysisName() const; | ||
Int_t GetNbOfSamples(); | ||
Int_t GetRunNumber(); | ||
Int_t GetFirstReqEvtNumber(); | ||
|
@@ -541,10 +541,10 @@ class TEcnaRead : public TObject { | |
|
||
time_t GetStartTime(); | ||
time_t GetStopTime(); | ||
TString GetStartDate(); | ||
TString GetStopDate(); | ||
TString GetRootFileName(); | ||
TString GetRootFileNameShort(); | ||
const TString &GetStartDate() const; | ||
const TString &GetStopDate() const; | ||
const TString &GetRootFileName() const; | ||
const TString &GetRootFileNameShort() const; | ||
Comment on lines
+544
to
+547
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. same |
||
|
||
TString GetRunType(); | ||
|
||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -349,12 +349,12 @@ void TEcnaParPaths::GetCMSSWParameters() { | |
// M E T H O D S T O R E T U R N T H E P A R A M E T E R S | ||
// | ||
//======================================================================================= | ||
TString TEcnaParPaths::ResultsRootFilePath() { return fCfgResultsRootFilePath; } | ||
TString TEcnaParPaths::ResultsAsciiFilePath() { return fCfgResultsAsciiFilePath; } | ||
TString TEcnaParPaths::HistoryRunListFilePath() { return fCfgHistoryRunListFilePath; } | ||
TString TEcnaParPaths::CMSSWBase() { return fCfgCMSSWBase; } | ||
TString TEcnaParPaths::CMSSWSubsystem() { return fCfgCMSSWSubsystem; } | ||
TString TEcnaParPaths::SCRAMArch() { return fCfgSCRAMArch; } | ||
const TString &TEcnaParPaths::ResultsRootFilePath() const { return fCfgResultsRootFilePath; } | ||
const TString &TEcnaParPaths::ResultsAsciiFilePath() const { return fCfgResultsAsciiFilePath; } | ||
const TString &TEcnaParPaths::HistoryRunListFilePath() const { return fCfgHistoryRunListFilePath; } | ||
const TString &TEcnaParPaths::CMSSWBase() const { return fCfgCMSSWBase; } | ||
const TString &TEcnaParPaths::CMSSWSubsystem() const { return fCfgCMSSWSubsystem; } | ||
const TString &TEcnaParPaths::SCRAMArch() const { return fCfgSCRAMArch; } | ||
Comment on lines
+352
to
+357
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. same |
||
|
||
//..................................................................................... | ||
TString TEcnaParPaths::PathModulesData() { | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -815,7 +815,7 @@ void TEcnaRead::FileParameters(const TString &typ_ana, | |
// GetLastReqEvtNumber, GetReqNbOfEvts, GetStexNumber | ||
// | ||
//========================================================================= | ||
TString TEcnaRead::GetAnalysisName() { return fFileHeader->fTypAna; } | ||
const TString &TEcnaRead::GetAnalysisName() const { return fFileHeader->fTypAna; } | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. same |
||
Int_t TEcnaRead::GetNbOfSamples() { return fFileHeader->fNbOfSamples; } | ||
Int_t TEcnaRead::GetRunNumber() { return fFileHeader->fRunNumber; } | ||
Int_t TEcnaRead::GetFirstReqEvtNumber() { return fFileHeader->fFirstReqEvtNumber; } | ||
|
@@ -829,8 +829,8 @@ Int_t TEcnaRead::GetStexNumber() { return fFileHeader->fStex; } | |
//========================================================================= | ||
time_t TEcnaRead::GetStartTime() { return fFileHeader->fStartTime; } | ||
time_t TEcnaRead::GetStopTime() { return fFileHeader->fStopTime; } | ||
TString TEcnaRead::GetStartDate() { return fFileHeader->fStartDate; } | ||
TString TEcnaRead::GetStopDate() { return fFileHeader->fStopDate; } | ||
const TString &TEcnaRead::GetStartDate() const { return fFileHeader->fStartDate; } | ||
const TString &TEcnaRead::GetStopDate() const { return fFileHeader->fStopDate; } | ||
Comment on lines
+832
to
+833
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. same |
||
TString TEcnaRead::GetRunType() { | ||
TString cType = "run type not defined"; | ||
Int_t numtype = fFileHeader->fRunType; | ||
|
@@ -4209,8 +4209,8 @@ TString TEcnaRead::GetTypeOfQuantity(const CnaResultTyp arg_typ) { | |
// Get the ROOT file name (long and short) | ||
// | ||
//------------------------------------------------------------------------- | ||
TString TEcnaRead::GetRootFileName() { return fCnaWrite->GetRootFileName(); } | ||
TString TEcnaRead::GetRootFileNameShort() { return fCnaWrite->GetRootFileNameShort(); } | ||
const TString &TEcnaRead::GetRootFileName() const { return fCnaWrite->GetRootFileName(); } | ||
const TString &TEcnaRead::GetRootFileNameShort() const { return fCnaWrite->GetRootFileNameShort(); } | ||
Comment on lines
+4212
to
+4213
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. same |
||
//------------------------------------------------------------------------- | ||
// | ||
// GetStexStinFromIndex | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is just a minor issue but I think this should either be
or
Like it is now, "&" is attached to a function name which I see as a little bit confusing.