Add 'nTrackWeights'

Renata Kopecná 2022-01-25 15:22:13 +01:00
parent 773096f8e1
commit be23526e4a

158
nTrackWeights.md Normal file

@ -0,0 +1,158 @@
## Global variables:
# Functions and their parameters:
### TH1D \*get_hist_MC_w()
* **Parameters**
* TH1D \*hist
* string name
* bool is2D
* **Return**
### TH1D \*get_hist()
* **Parameters**
* string name
* bool is2D
* bool isMC
* **Return**
### void getWeightHist()
* **Parameters**
* TChain \*tree
* string weightName
* TH1D \*hist
* TH1D \*hist_w
* string TMmethod
* bool KshortDecayInVelo
* bool gammaTM
* **Return**
### void fillWeightHist()
* **Parameters**
* double &w
* double &delta_w
* int bin
* bool TM
* TH1D \*h_w
* **Return**
### double getDelta_w2D()
* **Parameters**
* double w
* double delta_w
* double w2D
* double delta_w2D
* **Return**
### int quickFitAll()
* **Parameters**
* string SignalShape = "OneCB"
* string BckShape = "SingleExponential"
* bool sWeight=true
* bool GetShapeFromMC = true
* bool ConstrainParameters = true
* int Run = 1
* **Return**
### int NtrackWeight()
* **Parameters**
* string year = "2011"
* const bool ReferenceChannel = false
* bool PHSP = false
* bool ReweightInBplusPT = true
* bool KshortDecayInVelo = true
* bool sWeightUse = true
* **Return**
### int NtrackWeightAllKplus()
* **Parameters**
* const bool ReferenceChannel = false
* bool PHSP = false
* bool ReweightInBplusPT = true
* **Return**
### int WeightYear()
* **Parameters**
* string year = "2011"
* bool WeightBplusPT = true
* bool GetShapeFromMC = true
* bool sWeight = true
* **Return**
### int WeightAll()
* **Parameters**
* bool WeightBplusPT = true
* Int_t Run = 1
* bool sWeight = true
* **Return**
### int ReweightMCOnly()
* **Parameters**
* string year = "2011"
* bool ReferenceChannel = false
* bool PHSP = false
* bool WeightBplusPT = true
* bool sWeight = true
* **Return**
### int ReweightSignalMC()
* **Parameters**
* bool WeightBplusPT = true
* Int_t Run = 1
* bool sWeight = true
* **Return**
### int ReweightPHSPMC()
* **Parameters**
* bool WeightBplusPT = true
* Int_t Run = 1
* bool sWeight = true
* **Return**
### int ReweightReferenceMC()
* **Parameters**
* bool WeightBplusPT = true
* Int_t Run = 1
* bool sWeight = true
* **Return**
### int ReweightAllMC()
* **Parameters**
* bool WeightBplusPT = true
* Int_t Run = 1
* bool sWeight = true
* **Return**
### int ReweightAll()
* **Parameters**
* bool WeightBplusPT = true
* Int_t Run = 1
* bool sWeight = true
* **Return**
### int GetSignalAndBckgndEstimation()
* **Parameters**
* bool KshortDecaysInVelo = true
* Int_t Run = 1 //assumes S = N - B
* **Return**