https://github.com/sdtelectronics/rootmacros
CERN Root Macros For Visualization and Discrete Data Analysis
https://github.com/sdtelectronics/rootmacros
root-cern
Last synced: 12 months ago
JSON representation
CERN Root Macros For Visualization and Discrete Data Analysis
- Host: GitHub
- URL: https://github.com/sdtelectronics/rootmacros
- Owner: SdtElectronics
- Created: 2020-03-27T13:15:14.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2020-04-16T14:27:16.000Z (about 6 years ago)
- Last Synced: 2025-02-16T05:16:05.662Z (over 1 year ago)
- Topics: root-cern
- Language: C++
- Size: 626 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# CERN Root Macros
Macros For Visualization and Discrete Data Analysis On [CERN Root](https://root.cern/)
## Demos
### util.h
---
Utilities for plotting & helper functions, etc. Include to access all macros available in this project.
#### DrawP()
`shared_ptr* DrawP(shared_ptr objPtr, const char* opt = nullptr)`
### stemP.cc
---
Draw functions with stem plot style.
#### stemP()
`std::shared_ptr stemP(const TF1& func, const char* opt = "aps", double ll = 0, double ul = 0)`
Parameters
* func Function plotted
* opt Draw options ***For TGraph***
* lo Minimum value on X axis
* ul Maximum value on X axis

`DrawP(stemP(TF1("sa", "sin(x)/(x)", -12, 12)))`
### intP.cc
---
Create a TF1 which is the integral of a function.
#### intP()

### FFTP.cc
---
#### class TFFT
