Go to the documentation of this file.
11 #include "TDirectory.h"
16 : theName(
name.c_str()), where(whereIs.c_str()) {
29 resName +=
"/Resolution";
48 subName +=
"/subHistos";
182 if (
simTrack.momentum().eta() > 0) {
199 if (
simTrack.momentum().eta() > 0) {
227 double invSimP = (
simTrack.momentum().mag() == 0) ? 0 :
simTrack.momentum().mag();
234 resolution(signedInverseRecMom, simCharge * invSimP),
GlobalVector momentum() const
HResolution * hPull_40_70
HResolution * hTDRResolution_08_12
HResolution * hTDRResolution_12_24_minus
HResolution * hResolution_12_21_minus
HResolution * hPull_12_21_minus
HResolution * hPull_12_24_minus
Geom::Theta< T > theta() const
HResolution * hPull_08_12
TrackCharge charge() const
HResolution * hTDRResolution_70_100
virtual void setCurrentFolder(std::string const &fullpath)
void computeResolution(const FreeTrajectoryState &fts, SimTrack &simTracks, HResolution *hReso)
HResolution * hTDRResolution_12_24_plus
double signedInverseMomentum() const
HResolution * hTDRResolution_12_24
HResolution * hResolution_12_24_plus
HResolution * hResolution_70_100
HResolution * hTDRResolution_40_70
void Fill(double p, double pt, double eta, double phi, double charge)
Sin< T >::type sin(const T &t)
HTrack(DQMStore::IBooker &, std::string, std::string name, std::string whereIs="")
HResolution * hTDRResolution_08
Int_t Fill(Double_t x, Double_t y) override
FreeTrajectoryState const * freeState(bool withErrors=true) const
CartesianTrajectoryError cartesianError() const
HResolution * hPull_12_21
const CurvilinearTrajectoryError & curvilinearError() const
void computePull(const FreeTrajectoryState &fts, SimTrack &simTracks, HResolution *hReso)
ROOT::Math::SMatrix< double, 6, 6, ROOT::Math::MatRepSym< double, 6 > > AlgebraicSymMatrix66
HResolution * hTDRResolution_12_21_plus
void computeResolutionAndPull(TrajectoryStateOnSurface &vtx, SimTrack &simTrack)
HResolution * hTDRResolution_12_21_minus
HResolution * hPull_12_21_plus
double computeEfficiency(HTrackVariables *sim, DQMStore::IBooker &ibooker)
HResolution * hResolution_12_21
HResolution * hPull_12_24
HResolution * hTDRResolution_12_21
double resolution(double rec, double sim)
HResolution * hTDRResolution
void computeTDRResolution(const FreeTrajectoryState &fts, SimTrack &simTracks, HResolution *hReso)
HResolution * hResolution_08
void Fill(TrajectoryStateOnSurface &)
const AlgebraicSymMatrix66 & matrix() const
HResolution * hResolution_12_24
double pull(double rec, double sim, double sigmarec)
HResolution * hResolution_10_40
HResolution * hResolution_12_21_plus
HResolution * hTDRResolution_5_10
HResolution * hTDRResolution_10_40
HResolution * hPull_10_40
void FillDeltaR(double deltaR)
double computeEfficiency(HTrackVariables *sim, DQMStore::IBooker &)
HResolution * hResolution_12_24_minus
HResolution * hResolution_5_10
Power< A, B >::type pow(const A &a, const B &b)
Abs< T >::type abs(const T &t)
HResolution * hPull_12_24_plus
HTrackVariables * hVariables
HResolution * hResolution_40_70
Geom::Phi< T > phi() const
const AlgebraicSymMatrix55 & matrix() const
HResolution * hPull_70_100
HResolution * hResolution_08_12
HResolution * hResolution