hpstr
The Heavy Photon Search Toolkit for Reconstruction (hpstr) provides an interface to physics data from the HPS experiment saved in the LCIO format and converts it into an ROOT based format.
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
SimpAnaTTree.h
Go to the documentation of this file.
1#ifndef SIMP_ANA_TTREE_H
2#define SIMP_ANA_TTREE_H
3
4#include <iostream>
5#include <fstream>
6#include <string>
7#include <cstdlib>
8#include <TTree.h>
9#include <TFile.h>
10#include <TBranch.h>
11
12#include "MutableTTree.h"
13
17class SimpAnaTTree : public MutableTTree {
18
19 public:
20
21 SimpAnaTTree(TFile* infile, std::string tree_name) : MutableTTree(infile,tree_name){};
23
27 /*
28 void addVariable_unc_vtx_zalpha(double y_intercept, double slope, double alpha_z);
29 void addVariable_unc_vtx_zbravo();
30 void addVariable_unc_vtx_zbravoAlpha(double slope);
31 void addVariable_unc_vtx_zbravosum();
32 void addVariable_unc_vtx_zbravosumAlpha(double slope);
33
34 void addVariable_unc_vtx_ZalphaTop(double slope);
35 void addVariable_unc_vtx_ZalphaBot(double slope);
36 void addVariable_unc_vtx_ZalphaTopBot(double top_slope, double bot_slope);
37 void addVariable_unc_vtx_ZbravoAlphaTop(double slope);
38 void addVariable_unc_vtx_ZbravoAlphaBot(double slope);
39
40 void addVariable_unc_vtx_ZalphaBotEle(double slope);
41 void addVariable_unc_vtx_ZalphaTopEle(double slope);
42 void addVariable_unc_vtx_ZalphaTopPos(double slope);
43 void addVariable_unc_vtx_ZalphaBotPos(double slope);
44 */
45
46 void addVariable_unc_vtx_ele_zalpha(double slope);
47 void addVariable_unc_vtx_pos_zalpha(double slope);
48 void addVariable_unc_vtx_zalpha_max(double slope);
49 void addVariable_unc_vtx_zalpha_min(double slope);
50
57
64
66
67 //V0 target projection
68 //void vertex_target_projection(double target_pos);
69 //void vertex_target_projection_rotation(double angle);
70 //void addVariable_unc_vtx_proj_significance();
71
72 void addVariable(std::string variableName, double param) override;
73
74 //Restructring add variables
75 void unc_vtx_ele_zalpha(double slope);
76 void unc_vtx_pos_zalpha(double slope);
77 void unc_vtx_deltaZ();
78
79 //misc
80 bool impactParameterCut2016Canonical(double mass);
81
82 private:
83 double skipCutVarValue_ = -9876543210.0;//<! if cut variable is not defined for an event, assign this value
84};
85
86#endif // __SIMP_ANA_TTREE_H
Reads flat TTree and allows user to create new variables in the TTree.
Read in flat TTree and create new cut variables for SIMP analysis.
void unc_vtx_pos_zalpha(double slope)
void addVariable_unc_vtx_pos_zalpha(double slope)
void addVariable_unc_vtx_pos_z0tanlambda_right(double slope)
void unc_vtx_ele_zalpha(double slope)
void addVariable_unc_vtx_ele_iso_z0err()
void addVariable_unc_vtx_pos_isolation_cut()
void addVariable_unc_vtx_zalpha_max(double slope)
bool impactParameterCut2016Canonical(double mass)
void addVariable_unc_vtx_pos_z0tanlambda_left(double slope)
void addVariable_unc_vtx_ele_z0tanlambda_left(double slope)
SimpAnaTTree(TFile *infile, std::string tree_name)
void addVariable_unc_vtx_pos_z0tanlambda()
void addVariable_unc_vtx_ele_z0_z0err()
void addVariable_unc_vtx_pos_iso_z0err()
void addVariable_unc_vtx_ele_z0tanlambda_right(double slope)
double skipCutVarValue_
void addVariable_unc_vtx_ele_isolation_cut()
void addVariable_unc_vtx_abs_delta_z0tanlambda()
void addVariable(std::string variableName, double param) override
void addVariable_unc_vtx_zalpha_min(double slope)
void unc_vtx_deltaZ()
void addVariable_unc_vtx_ele_z0tanlambda()
void addVariable_unc_vtx_ele_zalpha(double slope)
New Variables.
void addVariable_unc_vtx_pos_z0_z0err()