PandaRoot
RhoMassConstraint.h
Go to the documentation of this file.
1 //****************************************************************************
2 //* This file is part of PandaRoot. *
3 //* *
4 //* PandaRoot is distributed under the terms of the *
5 //* GNU General Public License (GPL) version 3, *
6 //* copied verbatim in the file "LICENSE". *
7 //* *
8 //* Copyright (C) 2006 - 2024 FAIR GmbH and copyright holders of PandaRoot *
9 //* The copyright holders are listed in the file "COPYRIGHTHOLDERS". *
10 //* The authors are listed in the file "AUTHORS". *
11 //****************************************************************************
12 
13 #ifndef RHOMASSCONSTRAINT_H
14 #define RHOMASSCONSTRAINT_H
15 // //
17 // RhoMassConstraint //
18 // //
19 // Definition of a mass constraint for particle fitters //
20 // //
21 // Author List: //
22 // Ralf Kliemt, HIM/GSI Feb.2013 //
23 // //
25 
26 #include "RhoConstraint.h"
27 
29  public:
30  RhoMassConstraint(const Double_t &mass = 0.);
32 
33  void SetMassConstraint(const Double_t &mass = 0.) { fMassConstraint = mass; };
34  Double_t GetMassConstraint() const { return fMassConstraint; };
35 
36  private:
37  Double_t fMassConstraint; //[GeV/c^2]
38 
39  ClassDef(RhoMassConstraint, 1);
40 };
41 
42 #endif // RHOMASSCONSTRAINT_H
RhoMassConstraint(const Double_t &mass=0.)
void SetMassConstraint(const Double_t &mass=0.)
Double_t GetMassConstraint() const