Skip to content
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

Develop #25

Open
wants to merge 16 commits into
base: develop
Choose a base branch
from
6 changes: 5 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -178,9 +178,13 @@ add_subdirectory(examples/random)
add_subdirectory(examples/histograming)
add_subdirectory(examples/async)
add_subdirectory(examples/misc)


if(Minuit2_FOUND)
add_subdirectory(examples/phys)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All examples in the directory '''phys''' depends on Minuit2.
You need to put it inside the guards ''' if(Minuit2_FOUND) ... endif(Minuit2_FOUND)'''


add_subdirectory(examples/fit)
add_subdirectory(examples/phys)

endif(Minuit2_FOUND)

#+++++++++++++++++++++++++++
Expand Down
1 change: 1 addition & 0 deletions examples/phys/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,4 @@ project(examples)
ADD_HYDRA_EXAMPLE(double_gaussian_plus_exponential)
ADD_HYDRA_EXAMPLE(breit_wigner_plus_polynomial)
ADD_HYDRA_EXAMPLE(dalitz_plot)
ADD_HYDRA_EXAMPLE(FlatteLineShape)
36 changes: 36 additions & 0 deletions examples/phys/FlatteLineShape.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
/*----------------------------------------------------------------------------
*
* Copyright (C) 2016 - 2017 Antonio Augusto Alves Junior
*
* This file is part of Hydra Data Analysis Framework.
*
* Hydra is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* Hydra is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with Hydra. If not, see <http://www.gnu.org/licenses/>.
*
*---------------------------------------------------------------------------*/

/*
* FlatteLineShape.cpp
*
* Created on: 03/09/2018
* Author: Juan B de S Leite
*/

#ifndef Flatte_CPP_
#define Flatte_CPP_


#include <examples/phys/FlatteLineShape.inl>


#endif /* FlatteLineShape_CPP_ */
36 changes: 36 additions & 0 deletions examples/phys/FlatteLineShape.cu
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
/*----------------------------------------------------------------------------
*
* Copyright (C) 2016 - 2017 Antonio Augusto Alves Junior
*
* This file is part of Hydra Data Analysis Framework.
*
* Hydra is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* Hydra is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with Hydra. If not, see <http://www.gnu.org/licenses/>.
*
*---------------------------------------------------------------------------*/

/*
* FlatteLineShape.cu
*
* Created on: 03/09/2018
* Author: Juan B de S Leite
*/

#ifndef Flatte_CU_
#define Flatte_CU_


#include <examples/phys/FlatteLineShape.inl>


#endif /* FlatteLineShape_CU_ */