PandaRoot
RhoBeamConstraint.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 RHOBEAMCONSTRAINT_H
14 #define RHOBEAMCONSTRAINT_H
15 // //
17 // RhoBeamConstraint //
18 // //
19 // Definition of a beam constraint for particle fitters //
20 // //
21 // Author List: //
22 // Ralf Kliemt, HIM/GSI Feb.2013 //
23 // //
25 
26 #include "RhoConstraint.h"
27 #include "RhoLorentzVectorErr.h"
28 
30  public:
33 
34  void SetBeamConstraint(const RhoLorentzVectorErr &beam) { fBeamConstraint = beam; };
35  RhoLorentzVectorErr GetBeamConstraint() const { return fBeamConstraint; };
36 
37  private:
38  RhoLorentzVectorErr fBeamConstraint; // fourmomentum in the LAB [GeV/c]
39 
40  ClassDef(RhoBeamConstraint, 1);
41 };
42 
43 #endif // RHOBEAMCONSTRAINT_H
RhoLorentzVectorErr GetBeamConstraint() const
void SetBeamConstraint(const RhoLorentzVectorErr &beam)
RhoBeamConstraint(const RhoLorentzVectorErr &beam)