Skip to content

Commit

Permalink
Removed obsolete code
Browse files Browse the repository at this point in the history
  • Loading branch information
jose-luis-rs committed Feb 22, 2023
1 parent b836da5 commit d937bab
Show file tree
Hide file tree
Showing 13 changed files with 30 additions and 49 deletions.
2 changes: 1 addition & 1 deletion field/FRSWasaFieldMap.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ void FRSWasaFieldMap::SetField(Double_t Bx, Double_t By, Double_t Bz)
// ------------------------------------------------------------------------

// --------- Screen output --------------------------------------------
void FRSWasaFieldMap::Print(Option_t* option) const
void FRSWasaFieldMap::Print(Option_t*) const
{
cout << "======================================================" << endl;
cout << "---- " << fTitle << " : " << fName << endl;
Expand Down
2 changes: 1 addition & 1 deletion sci/FrsSciMapped2Tcal.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ InitStatus FrsSciMapped2Tcal::ReInit()
return kSUCCESS;
}

void FrsSciMapped2Tcal::Exec(Option_t* option)
void FrsSciMapped2Tcal::Exec(Option_t*)
{
// Reset entries in output arrays, local arrays
Reset();
Expand Down
4 changes: 1 addition & 3 deletions sci/FrsSciMapped2TcalPar.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ FrsSciMapped2TcalPar::FrsSciMapped2TcalPar()
, fMinStatistics(0)
, fMapped(NULL)
, fTcalPar(NULL)
, fOutputFile(NULL)
{
fNumSignals = fNumDetectors * fNumChannels;
}
Expand All @@ -41,7 +40,6 @@ FrsSciMapped2TcalPar::FrsSciMapped2TcalPar(const char* name, Int_t iVerbose)
, fMinStatistics(0)
, fMapped(NULL)
, fTcalPar(NULL)
, fOutputFile(NULL)

{
fNumSignals = fNumDetectors * fNumChannels;
Expand Down Expand Up @@ -134,7 +132,7 @@ InitStatus FrsSciMapped2TcalPar::Init()
InitStatus FrsSciMapped2TcalPar::ReInit() { return kSUCCESS; }

// ----- Public method Exec --------------------------------------------
void FrsSciMapped2TcalPar::Exec(Option_t* opt)
void FrsSciMapped2TcalPar::Exec(Option_t*)
{

// --- -------------------------------- --- //
Expand Down
13 changes: 5 additions & 8 deletions sci/FrsSciMapped2TcalPar.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ class FrsSciMapped2TcalPar : public FairTask
virtual InitStatus Init();

/** Virtual method Exec **/
virtual void Exec(Option_t* opt);
virtual void Exec(Option_t*);

/** Virtual method FinishEvent **/
virtual void FinishEvent();
Expand All @@ -42,13 +42,11 @@ class FrsSciMapped2TcalPar : public FairTask
/** Virtual method calculate the Vftx Tcal Parameters **/
virtual void CalculateVftxTcalParams();

void SetOutputFile(const char* outFile);

/** Accessor functions **/
const Double_t GetNumDetectors() { return fNumDetectors; }
const Double_t GetNumChannels() { return fNumChannels; }
const Double_t GetNumSignals() { return fNumSignals; }
const Int_t GetMinStatistics() { return fMinStatistics; }
Double_t GetNumDetectors() const { return fNumDetectors; }
Double_t GetNumChannels() const { return fNumChannels; }
Double_t GetNumSignals() const { return fNumSignals; }
Int_t GetMinStatistics() const { return fMinStatistics; }

void SetNumDetectors(Int_t NumberOfDetectors) { fNumDetectors = NumberOfDetectors; }
void SetNumChannels(Int_t NumberOfChannels) { fNumChannels = NumberOfChannels; }
Expand Down Expand Up @@ -76,7 +74,6 @@ class FrsSciMapped2TcalPar : public FairTask
// histograms
TH1F** fh_TimeFineBin;
TH1F** fh_TimeFineNs;
char* fOutputFile;

public:
ClassDef(FrsSciMapped2TcalPar, 0);
Expand Down
8 changes: 4 additions & 4 deletions sci/FrsSciRawPosPar.h
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,10 @@ class FrsSciRawPosPar : public FairParGenericSet
void printParams();

/** Accessor functions **/
const Double_t GetNumDetectors() { return fNumDetectors; }
const Double_t GetNumChannels() { return fNumChannels; }
const Double_t GetNumSignals() { return fNumSignals; }
const Double_t GetNumParsPerSignal() { return fNumParsPerSignal; }
Double_t GetNumDetectors() const { return fNumDetectors; }
Double_t GetNumChannels() const { return fNumChannels; }
Double_t GetNumSignals() const { return fNumSignals; }
Double_t GetNumParsPerSignal() const { return fNumParsPerSignal; }
TArrayF* GetAllSignalsTcalParams() { return fAllSignalsRawPosParams; }
Double_t GetSignalTcalParams(UInt_t rank) { return (Double_t)fAllSignalsRawPosParams->GetAt(rank); }

Expand Down
6 changes: 3 additions & 3 deletions sci/FrsSciRawTofPar.h
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,9 @@ class FrsSciRawTofPar : public FairParGenericSet
void printParams();

/** Accessor functions **/
const Int_t GetFirstStart() { return fFirstStaSci; }
const Int_t GetNumSignals() { return fNumSignals; }
const Double_t GetNumParsPerSignal() { return fNumParsPerSignal; }
Int_t GetFirstStart() const { return fFirstStaSci; }
Int_t GetNumSignals() const { return fNumSignals; }
Double_t GetNumParsPerSignal() const { return fNumParsPerSignal; }
TArrayF* GetAllSignalsRawTofParams() { return fAllSignalsRawTofParams; }
Double_t GetSignalRawTofParams(UInt_t rank) { return (Double_t)fAllSignalsRawTofParams->GetAt(rank); }

Expand Down
5 changes: 1 addition & 4 deletions sci/FrsSciTcal2RawPosPar.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ FrsSciTcal2RawPosPar::FrsSciTcal2RawPosPar()
, fMinStatistics(100)
, fTcal(NULL)
, fRawPosPar(NULL)
, fOutputFile(NULL)
{
fNumSignals = fNumDetectors * fNumChannels;
}
Expand All @@ -47,8 +46,6 @@ FrsSciTcal2RawPosPar::FrsSciTcal2RawPosPar(const char* name, Int_t iVerbose)
, fMinStatistics(100)
, fTcal(NULL)
, fRawPosPar(NULL)
, fOutputFile(NULL)

{
fNumSignals = fNumDetectors * fNumChannels;
}
Expand Down Expand Up @@ -126,7 +123,7 @@ InitStatus FrsSciTcal2RawPosPar::Init()
InitStatus FrsSciTcal2RawPosPar::ReInit() { return kSUCCESS; }

// ----- Public method Exec --------------------------------------------
void FrsSciTcal2RawPosPar::Exec(Option_t* opt)
void FrsSciTcal2RawPosPar::Exec(Option_t*)
{

// --- ------------------------------ --- //
Expand Down
11 changes: 4 additions & 7 deletions sci/FrsSciTcal2RawPosPar.h
Original file line number Diff line number Diff line change
Expand Up @@ -43,13 +43,11 @@ class FrsSciTcal2RawPosPar : public FairTask
/** Virtual method calculate the PosRaw Single Tcal Parameters **/
virtual void CalculateRawPosRawPosParams();

void SetOutputFile(const char* outFile);

/** Accessor functions **/
const Double_t GetNumDetectors() { return fNumDetectors; }
const Double_t GetNumChannels() { return fNumChannels; }
const Double_t GetNumSignals() { return fNumSignals; }
const Int_t GetMinStatistics() { return fMinStatistics; }
Double_t GetNumDetectors() const { return fNumDetectors; }
Double_t GetNumChannels() const { return fNumChannels; }
Double_t GetNumSignals() const { return fNumSignals; }
Int_t GetMinStatistics() const { return fMinStatistics; }

void SetNumDetectors(Int_t n) { fNumDetectors = n; }
void SetNumChannels(Int_t n) { fNumChannels = n; }
Expand All @@ -76,7 +74,6 @@ class FrsSciTcal2RawPosPar : public FairTask

// histograms
TH1D** fh_RawPosMult1;
char* fOutputFile;

public:
ClassDef(FrsSciTcal2RawPosPar, 1);
Expand Down
2 changes: 1 addition & 1 deletion sci/FrsSciTcal2RawTofPar.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ InitStatus FrsSciTcal2RawTofPar::Init()
InitStatus FrsSciTcal2RawTofPar::ReInit() { return kSUCCESS; }

// ----- Public method Exec --------------------------------------------
void FrsSciTcal2RawTofPar::Exec(Option_t* opt)
void FrsSciTcal2RawTofPar::Exec(Option_t*)
{

// --- ------------------------------ --- //
Expand Down
10 changes: 4 additions & 6 deletions sci/FrsSciTcal2RawTofPar.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ class FrsSciTcal2RawTofPar : public FairTask
virtual InitStatus Init();

/** Virtual method Exec **/
virtual void Exec(Option_t* opt);
virtual void Exec(Option_t*);

/** Virtual method FinishEvent **/
virtual void FinishEvent();
Expand All @@ -43,12 +43,10 @@ class FrsSciTcal2RawTofPar : public FairTask
/** Virtual method calculate the TofRaw Single Tcal Parameters **/
virtual void CalculateRawTofParams();

void SetOutputFile(const char* outFile);

/** Accessor functions **/
const Int_t GetFirstStaSci() { return fFirstStaSci; }
const Double_t GetNumSignals() { return fNumSignals; }
const Int_t GetMinStatistics() { return fMinStatistics; }
Int_t GetFirstStaSci() const { return fFirstStaSci; }
Double_t GetNumSignals() const { return fNumSignals; }
Int_t GetMinStatistics() const { return fMinStatistics; }

void SetFirstStaSci(Int_t firststa) { fFirstStaSci = firststa; }
void SetNumSignals() { fNumSignals = fNumDetectors - 1; }
Expand Down
8 changes: 4 additions & 4 deletions sci/FrsSciTcalPar.h
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,10 @@ class FrsSciTcalPar : public FairParGenericSet
void printParams();

/** Accessor functions **/
const Double_t GetNumDetectors() { return fNumDetectors; }
const Double_t GetNumChannels() { return fNumChannels; }
const Double_t GetNumSignals() { return fNumSignals; }
const Double_t GetNumTcalParsPerSignal() { return fNumTcalParsPerSignal; }
Double_t GetNumDetectors() const { return fNumDetectors; }
Double_t GetNumChannels() const { return fNumChannels; }
Double_t GetNumSignals() const { return fNumSignals; }
Double_t GetNumTcalParsPerSignal() const { return fNumTcalParsPerSignal; }
TArrayF* GetAllSignalsTcalParams() { return fAllSignalsTcalParams; }
Double_t GetSignalTcalParams(UInt_t rank) { return (Double_t)fAllSignalsTcalParams->GetAt(rank); }

Expand Down
6 changes: 0 additions & 6 deletions sci/FrsTcalContFact.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -75,10 +75,4 @@ FairParSet* FrsTcalContFact::createContainer(FairContainer* c)
return p;
}

void FrsTcalContFact::activateParIo(FairParIo* io)
{
// activates the input/output class for the parameters
// needed by the Sts
}

ClassImp(FrsTcalContFact)
2 changes: 1 addition & 1 deletion sci/FrsTcalContFact.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class FrsTcalContFact : public FairContFact
FrsTcalContFact();
~FrsTcalContFact() {}
FairParSet* createContainer(FairContainer*);
void activateParIo(FairParIo* io);

ClassDef(FrsTcalContFact, 1)
};

Expand Down

0 comments on commit d937bab

Please sign in to comment.