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
ThreeProngHistos.h
Go to the documentation of this file.
1#ifndef THREEPRONGHISTOS_H
2#define THREEPRONGHISTOS_H
3
4#include "HistoManager.h"
5#include "Track.h"
6#include "CalCluster.h"
7#include "Vertex.h"
8#include "Particle.h"
9//#include "AnaHelpers.h"
10#include <string>
11#include <vector>
12
14
15 public:
16
17 ThreeProngHistos(const std::string& inputName) :
18 HistoManager(inputName)
19 {
20 m_name = inputName;
21 // _ah = std::make_shared<AnaHelpers>();
22 // BuildAxes();
23 }
24
25 virtual void Define3DHistos(){};
26 virtual void Define2DHistos(){};
27
28
29 void BuildAxes(){};
30 void setBeamEnergy(double beamEnergy){eBeam=beamEnergy;};
31 void FillThreeProngPlots(Particle* ele, Particle* pos, Particle* rec,float weight=1.0);
32 private:
33 // Vertices
34 // std::vector<std::string> vPs{"vtx_chi2", "vtx_X", "vtx_Y", "vtx_Z", "vtx_sigma_X","vtx_sigma_Y","vtx_sigma_Z","vtx_InvM","vtx_InvMErr"};
35 double eBeam{3.74};
36 //bool doTrkCompPlots{false};
37
38};
39
40#endif //TRACKEFFIC_H
Class used to encapsulate information about a particle.
Class used to encapsulate track information.
Class used to encapsulate Vertex information.
description
std::string m_name
description
virtual void Define3DHistos()
define additional 3D histo by hand
void setBeamEnergy(double beamEnergy)
void FillThreeProngPlots(Particle *ele, Particle *pos, Particle *rec, float weight=1.0)
virtual void Define2DHistos()
define additional 2D histo by hand
ThreeProngHistos(const std::string &inputName)