NDXSecBPFMuonPID.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include "CAFAna/Core/Var.h"
4 #include "CAFAna/Core/MultiVar.h"
6 #include "TMVA/Reader.h"
7 #include <cassert>
8 #include <math.h>
9 #include "TFile.h"
10 
11 namespace ana
12 {
13  // --------------------------------------------------------
14  // MuonPID TMVA calculated on-the-fly based on BPF track information
15  // See doc-40528 for more details.
16  // --------------------------------------------------------
17 
18  class GetBPFMuonID{
19  public:
21  float operator() (const caf::SRProxy* sr) const;
22  protected:
23  float InitTMVA() const;
24  };
25 
27  public:
29  float operator() (const caf::SRProxy* sr) const;
30  protected:
31  float InitTMVA() const;
32  };
33 
34 
37 
38 }//namespace
39 
Cuts and Vars for the 2020 FD DiF Study.
Definition: vars.h:6
Proxy for caf::StandardRecord.
Definition: SRProxy.h:2126
float operator()(const caf::SRProxy *sr) const
float InitTMVA() const
const Var kBPFMuonID
_Var< caf::SRProxy > Var
Definition: Var.h:7
caf::StandardRecord * sr
const Var kBestBPFTrack