Skip to content
Snippets Groups Projects
Commit 229e044e authored by Florian Uhlig's avatar Florian Uhlig
Browse files

Rename parameter names in all setter function to avoid warnings about shadowed variables

parent a44d3b67
No related branches found
No related tags found
No related merge requests found
Pipeline #2974 failed
......@@ -32,48 +32,48 @@ public:
return fZ;
}
void SetZ(Int_t fZ) {
DataTreePSDPrimaryParticle::fZ = fZ;
void SetZ(Int_t Z) {
DataTreePSDPrimaryParticle::fZ = Z;
}
Int_t GetA() const {
return fA;
}
void SetA(Int_t fA) {
DataTreePSDPrimaryParticle::fA = fA;
void SetA(Int_t A) {
DataTreePSDPrimaryParticle::fA = A;
}
Int_t GetType() const {
return fType;
}
void SetType(Int_t fType) {
DataTreePSDPrimaryParticle::fType = fType;
void SetType(Int_t Type) {
DataTreePSDPrimaryParticle::fType = Type;
}
Long64_t GetPdgID() const {
return fPdgID;
}
void SetPdgID(Long64_t fPdgID) {
DataTreePSDPrimaryParticle::fPdgID = fPdgID;
void SetPdgID(Long64_t PdgID) {
DataTreePSDPrimaryParticle::fPdgID = PdgID;
}
const TLorentzVector &GetMomentum() const {
return fMomentum;
}
void SetMomentum(const TLorentzVector &fMomentum) {
DataTreePSDPrimaryParticle::fMomentum = fMomentum;
void SetMomentum(const TLorentzVector &Momentum) {
DataTreePSDPrimaryParticle::fMomentum = Momentum;
}
const TVector3 &GetPosition() const {
return fPosition;
}
void SetPosition(const TVector3 &fPosition) {
DataTreePSDPrimaryParticle::fPosition = fPosition;
void SetPosition(const TVector3 &Position) {
DataTreePSDPrimaryParticle::fPosition = Position;
}
protected:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment