Public Member Functions | Protected Attributes | List of all members
flat::FlatIDBranch Class Reference

Flat encoding of SRIDBranch. More...

#include "/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/N20-11-28/FlatMaker/FlatIDBranch.h"

Public Member Functions

 FlatIDBranch (const std::string &prefix, TTree *tr, const IBranchPolicy *policy)
 
 ~FlatIDBranch ()
 
void Fill (const caf::SRIDBranch &sr)
 

Protected Attributes

double wsid
 
FlatRemid remid
 
FlatMuonID muonid
 
FlatBpfId bpfid
 
FlatELid lid
 
FlatLem lem
 
FlatPresel nuepre
 
FlatPresel rockpre
 
FlatRvp rvp
 
FlatCosRej cosrej
 
FlatNueCosRej nuecosrej
 
FlatNCCosRej nccosrej
 
FlatNCPi0BkgRej ncpi0bkgrej
 
FlatContain contain
 
FlatVeto veto
 
FlatCVNResult cvn
 
FlatCVNResult cvnloosepreselptp
 
FlatCVNResult cvnoldpresel
 
FlatCVNResult cvnnocosmics
 
FlatXnue xnuepid
 
FlatSliceLID slicelid
 
FlatNuonEResult nuone
 
FlatCVNResult cvnloosepreselptp_opphorn
 
FlatCVNResult cvnoldpresel_opphorn
 
FlatCVNResult cvnnocosmics_opphorn
 
FlatSliceLID slicelid_opphorn
 
FlatNuonEResult nuone_opphorn
 

Detailed Description

Flat encoding of SRIDBranch.

Definition at line 37 of file FlatIDBranch.h.

Constructor & Destructor Documentation

flat::FlatIDBranch::FlatIDBranch ( const std::string prefix,
TTree *  tr,
const IBranchPolicy policy 
)

Definition at line 1707 of file FlatRecord.cxx.

References compare_h5_caf::branch, and wsid.

1708  : remid(prefix+"remid.", tr, policy),
1709  muonid(prefix+"muonid.", tr, policy),
1710  bpfid(prefix+"bpfid.", tr, policy),
1711  lid(prefix+"lid.", tr, policy),
1712  lem(prefix+"lem.", tr, policy),
1713  nuepre(prefix+"nuepre.", tr, policy),
1714  rockpre(prefix+"rockpre.", tr, policy),
1715  rvp(prefix+"rvp.", tr, policy),
1716  cosrej(prefix+"cosrej.", tr, policy),
1717  nuecosrej(prefix+"nuecosrej.", tr, policy),
1718  nccosrej(prefix+"nccosrej.", tr, policy),
1719  ncpi0bkgrej(prefix+"ncpi0bkgrej.", tr, policy),
1720  contain(prefix+"contain.", tr, policy),
1721  veto(prefix+"veto.", tr, policy),
1722  cvn(prefix+"cvn.", tr, policy),
1723  cvnloosepreselptp(prefix+"cvnloosepreselptp.", tr, policy),
1724  cvnoldpresel(prefix+"cvnoldpresel.", tr, policy),
1725  cvnnocosmics(prefix+"cvnnocosmics.", tr, policy),
1726  xnuepid(prefix+"xnuepid.", tr, policy),
1727  slicelid(prefix+"slicelid.", tr, policy),
1728  nuone(prefix+"nuone.", tr, policy),
1729  cvnloosepreselptp_opphorn(prefix+"cvnloosepreselptp_opphorn.", tr, policy),
1730  cvnoldpresel_opphorn(prefix+"cvnoldpresel_opphorn.", tr, policy),
1731  cvnnocosmics_opphorn(prefix+"cvnnocosmics_opphorn.", tr, policy),
1732  slicelid_opphorn(prefix+"slicelid_opphorn.", tr, policy),
1733  nuone_opphorn(prefix+"nuone_opphorn.", tr, policy)
1734 {
1735  branch(tr, prefix+"wsid", &wsid, policy);
1736 }
FlatCVNResult cvnnocosmics
Definition: FlatIDBranch.h:65
FlatCVNResult cvnloosepreselptp
Definition: FlatIDBranch.h:63
FlatNueCosRej nuecosrej
Definition: FlatIDBranch.h:57
FlatCVNResult cvnloosepreselptp_opphorn
Definition: FlatIDBranch.h:69
FlatPresel nuepre
Definition: FlatIDBranch.h:53
FlatMuonID muonid
Definition: FlatIDBranch.h:49
FlatNCPi0BkgRej ncpi0bkgrej
Definition: FlatIDBranch.h:59
FlatCVNResult cvn
Definition: FlatIDBranch.h:62
FlatSliceLID slicelid_opphorn
Definition: FlatIDBranch.h:72
FlatPresel rockpre
Definition: FlatIDBranch.h:54
FlatNCCosRej nccosrej
Definition: FlatIDBranch.h:58
const XML_Char * prefix
Definition: expat.h:380
FlatCVNResult cvnoldpresel_opphorn
Definition: FlatIDBranch.h:70
FlatNuonEResult nuone_opphorn
Definition: FlatIDBranch.h:73
FlatCosRej cosrej
Definition: FlatIDBranch.h:56
FlatCVNResult cvnnocosmics_opphorn
Definition: FlatIDBranch.h:71
FlatSliceLID slicelid
Definition: FlatIDBranch.h:67
FlatCVNResult cvnoldpresel
Definition: FlatIDBranch.h:64
FlatContain contain
Definition: FlatIDBranch.h:60
FlatNuonEResult nuone
Definition: FlatIDBranch.h:68
flat::FlatIDBranch::~FlatIDBranch ( )

Definition at line 1738 of file FlatRecord.cxx.

1739 {
1740 }

Member Function Documentation

void flat::FlatIDBranch::Fill ( const caf::SRIDBranch sr)

Definition at line 1742 of file FlatRecord.cxx.

References caf::SRIDBranch::bpfid, bpfid, caf::SRIDBranch::contain, contain, caf::SRIDBranch::cosrej, caf::SRIDBranch::cvn, caf::SRIDBranch::cvnloosepreselptp, cvnloosepreselptp, caf::SRIDBranch::cvnloosepreselptp_opphorn, cvnloosepreselptp_opphorn, caf::SRIDBranch::cvnnocosmics, cvnnocosmics, caf::SRIDBranch::cvnnocosmics_opphorn, cvnnocosmics_opphorn, caf::SRIDBranch::cvnoldpresel, cvnoldpresel, caf::SRIDBranch::cvnoldpresel_opphorn, cvnoldpresel_opphorn, flat::FlatELid::Fill(), flat::FlatVeto::Fill(), flat::FlatCVNResult::Fill(), flat::FlatNueCosRej::Fill(), flat::FlatXnue::Fill(), flat::FlatNCCosRej::Fill(), flat::FlatSliceLID::Fill(), flat::FlatPresel::Fill(), flat::FlatNuonEResult::Fill(), flat::FlatNCPi0BkgRej::Fill(), flat::FlatContain::Fill(), flat::FlatBpfId::Fill(), caf::SRIDBranch::lem, caf::SRIDBranch::lid, lid, caf::SRIDBranch::muonid, caf::SRIDBranch::nccosrej, nccosrej, caf::SRIDBranch::ncpi0bkgrej, ncpi0bkgrej, caf::SRIDBranch::nuecosrej, nuecosrej, caf::SRIDBranch::nuepre, nuepre, caf::SRIDBranch::nuone, nuone, caf::SRIDBranch::nuone_opphorn, nuone_opphorn, caf::SRIDBranch::remid, caf::SRIDBranch::rockpre, rockpre, caf::SRIDBranch::rvp, caf::SRIDBranch::slicelid, slicelid, caf::SRIDBranch::slicelid_opphorn, slicelid_opphorn, caf::SRIDBranch::veto, veto, wsid, caf::SRIDBranch::wsid, caf::SRIDBranch::xnuepid, and xnuepid.

Referenced by flat::FlatRecord::Fill().

1743 {
1744  wsid = sr.wsid;
1745 
1746  remid.Fill(sr.remid);
1747  muonid.Fill(sr.muonid);
1748  bpfid.Fill(sr.bpfid);
1749  lid.Fill(sr.lid);
1750  lem.Fill(sr.lem);
1751  nuepre.Fill(sr.nuepre);
1752  rockpre.Fill(sr.rockpre);
1753  rvp.Fill(sr.rvp);
1754  cosrej.Fill(sr.cosrej);
1755  nuecosrej.Fill(sr.nuecosrej);
1756  nccosrej.Fill(sr.nccosrej);
1758  contain.Fill(sr.contain);
1759  veto.Fill(sr.veto);
1760  cvn.Fill(sr.cvn);
1764  xnuepid.Fill(sr.xnuepid);
1765  slicelid.Fill(sr.slicelid);
1766  nuone.Fill(sr.nuone);
1772 }
SRCVNResult cvnoldpresel_opphorn
cvnoldpresel trained for opposite HC
Definition: SRIDBranch.h:66
SRSliceLID slicelid
Output of SliceLID classifier.
Definition: SRIDBranch.h:58
SRPresel rockpre
Official rock preselection information.
Definition: SRIDBranch.h:45
SRCVNResult cvnnocosmics
Output from CVN - No cosmics ued in training (many-class PID)
Definition: SRIDBranch.h:56
SRCVNResult cvnnocosmics_opphorn
cvncosmics trained for opposite HC
Definition: SRIDBranch.h:67
SRCosRej cosrej
Output from CosRej (Cosmic Rejection)
Definition: SRIDBranch.h:47
void Fill(const caf::SRNCCosRej &sr)
SRNuonEResult nuone_opphorn
nuone trained for opposite HC
Definition: SRIDBranch.h:69
SRCVNResult cvnoldpresel
Output from CVN - Preselection used in Prod3/4 (many-class PID)
Definition: SRIDBranch.h:55
SRCVNResult cvnloosepreselptp
Output from CVN - Loose Presel plus PtP cut (many-class PID)
Definition: SRIDBranch.h:54
FlatCVNResult cvnnocosmics
Definition: FlatIDBranch.h:65
SRMuonID muonid
Output from ND Group MuonID BDT.
Definition: SRIDBranch.h:40
SRRvp rvp
Output from RecoVariablePID (RVP)
Definition: SRIDBranch.h:46
Defines an enumeration for prong classification.
void Fill(const caf::SRContain &sr)
A PID for muons.
Definition: FillPIDs.h:11
FlatCVNResult cvnloosepreselptp
Definition: FlatIDBranch.h:63
FlatNueCosRej nuecosrej
Definition: FlatIDBranch.h:57
PID
Definition: FillPIDs.h:14
SRCVNResult cvnloosepreselptp_opphorn
cvnloosepreselptp trained for opposite HC
Definition: SRIDBranch.h:65
FlatCVNResult cvnloosepreselptp_opphorn
Definition: FlatIDBranch.h:69
void Fill(const caf::SRNuonEResult &sr)
FlatPresel nuepre
Definition: FlatIDBranch.h:53
void Fill(const caf::SRXnue &sr)
SRCVNResult cvn
Horrible hack to appease CAFAna.
Definition: SRIDBranch.h:53
SRNueCosRej nuecosrej
Output from NueCosRej (Nue Cosmic Rejection)
Definition: SRIDBranch.h:48
SRRemid remid
Output from RecoMuonID (ReMId) package.
Definition: SRIDBranch.h:39
SRNCCosRej nccosrej
Output from NCCosRej (NC Cosmic Rejection)
Definition: SRIDBranch.h:49
FlatNCPi0BkgRej ncpi0bkgrej
Definition: FlatIDBranch.h:59
void Fill(const caf::SRPresel &sr)
FlatSliceLID slicelid_opphorn
Definition: FlatIDBranch.h:72
FlatPresel rockpre
Definition: FlatIDBranch.h:54
void Fill(const caf::SRELid &sr)
SRNuonEResult nuone
Ouput of nuone classifier.
Definition: SRIDBranch.h:59
void Fill(const caf::SRCVNResult &sr)
FlatNCCosRej nccosrej
Definition: FlatIDBranch.h:58
FlatCVNResult cvnoldpresel_opphorn
Definition: FlatIDBranch.h:70
SRBpfId bpfid
Output from the BreakPointFitter PID (BPFPIdMaker) package.
Definition: SRIDBranch.h:41
FlatNuonEResult nuone_opphorn
Definition: FlatIDBranch.h:73
SRSliceLID slicelid_opphorn
slicelid trained for opposite HC
Definition: SRIDBranch.h:68
Cosmic Rejection PIDs for Numu analysis.
Definition: FillParentInfo.h:9
FlatCVNResult cvnnocosmics_opphorn
Definition: FlatIDBranch.h:71
SRELid lid
Output from LIDBuilder (LID) package.
Definition: SRIDBranch.h:42
void Fill(const caf::SRBpfId &sr)
SRLem lem
Output from Library Event Matching (LEM)
Definition: SRIDBranch.h:43
SRVeto veto
Output from CosmicVeto (Preliminary preselection)
Definition: SRIDBranch.h:52
A PID for muons.
Definition: FillPIDs.h:10
SRPresel nuepre
Official nue preselection information.
Definition: SRIDBranch.h:44
FlatSliceLID slicelid
Definition: FlatIDBranch.h:67
FlatCVNResult cvnoldpresel
Definition: FlatIDBranch.h:64
FlatContain contain
Definition: FlatIDBranch.h:60
void Fill(const caf::SRNueCosRej &sr)
SRContain contain
Output from SRContain (containment related variables)
Definition: SRIDBranch.h:51
FlatNuonEResult nuone
Definition: FlatIDBranch.h:68
Definition: FillPIDs.h:15
void Fill(const caf::SRSliceLID &sr)
void Fill(const caf::SRNCPi0BkgRej &sr)
SRNCPi0BkgRej ncpi0bkgrej
Output from NCCosRej (NC Cosmic Rejection)
Definition: SRIDBranch.h:50
SRXnue xnuepid
Output from BDT (XnuePID)
Definition: SRIDBranch.h:57
void Fill(const caf::SRVeto &sr)

Member Data Documentation

FlatBpfId flat::FlatIDBranch::bpfid
protected

Definition at line 50 of file FlatIDBranch.h.

Referenced by Fill().

FlatContain flat::FlatIDBranch::contain
protected

Definition at line 60 of file FlatIDBranch.h.

Referenced by Fill().

FlatCosRej flat::FlatIDBranch::cosrej
protected

Definition at line 56 of file FlatIDBranch.h.

FlatCVNResult flat::FlatIDBranch::cvn
protected

Definition at line 62 of file FlatIDBranch.h.

FlatCVNResult flat::FlatIDBranch::cvnloosepreselptp
protected

Definition at line 63 of file FlatIDBranch.h.

Referenced by Fill().

FlatCVNResult flat::FlatIDBranch::cvnloosepreselptp_opphorn
protected

Definition at line 69 of file FlatIDBranch.h.

Referenced by Fill().

FlatCVNResult flat::FlatIDBranch::cvnnocosmics
protected

Definition at line 65 of file FlatIDBranch.h.

Referenced by Fill().

FlatCVNResult flat::FlatIDBranch::cvnnocosmics_opphorn
protected

Definition at line 71 of file FlatIDBranch.h.

Referenced by Fill().

FlatCVNResult flat::FlatIDBranch::cvnoldpresel
protected

Definition at line 64 of file FlatIDBranch.h.

Referenced by Fill().

FlatCVNResult flat::FlatIDBranch::cvnoldpresel_opphorn
protected

Definition at line 70 of file FlatIDBranch.h.

Referenced by Fill().

FlatLem flat::FlatIDBranch::lem
protected

Definition at line 52 of file FlatIDBranch.h.

FlatELid flat::FlatIDBranch::lid
protected

Definition at line 51 of file FlatIDBranch.h.

Referenced by Fill().

FlatMuonID flat::FlatIDBranch::muonid
protected

Definition at line 49 of file FlatIDBranch.h.

FlatNCCosRej flat::FlatIDBranch::nccosrej
protected

Definition at line 58 of file FlatIDBranch.h.

Referenced by Fill().

FlatNCPi0BkgRej flat::FlatIDBranch::ncpi0bkgrej
protected

Definition at line 59 of file FlatIDBranch.h.

Referenced by Fill().

FlatNueCosRej flat::FlatIDBranch::nuecosrej
protected

Definition at line 57 of file FlatIDBranch.h.

Referenced by Fill().

FlatPresel flat::FlatIDBranch::nuepre
protected

Definition at line 53 of file FlatIDBranch.h.

Referenced by Fill().

FlatNuonEResult flat::FlatIDBranch::nuone
protected

Definition at line 68 of file FlatIDBranch.h.

Referenced by Fill().

FlatNuonEResult flat::FlatIDBranch::nuone_opphorn
protected

Definition at line 73 of file FlatIDBranch.h.

Referenced by Fill().

FlatRemid flat::FlatIDBranch::remid
protected

Definition at line 48 of file FlatIDBranch.h.

FlatPresel flat::FlatIDBranch::rockpre
protected

Definition at line 54 of file FlatIDBranch.h.

Referenced by Fill().

FlatRvp flat::FlatIDBranch::rvp
protected

Definition at line 55 of file FlatIDBranch.h.

FlatSliceLID flat::FlatIDBranch::slicelid
protected

Definition at line 67 of file FlatIDBranch.h.

Referenced by Fill().

FlatSliceLID flat::FlatIDBranch::slicelid_opphorn
protected

Definition at line 72 of file FlatIDBranch.h.

Referenced by Fill().

FlatVeto flat::FlatIDBranch::veto
protected

Definition at line 61 of file FlatIDBranch.h.

Referenced by Fill().

double flat::FlatIDBranch::wsid
protected

Definition at line 46 of file FlatIDBranch.h.

Referenced by Fill(), and FlatIDBranch().

FlatXnue flat::FlatIDBranch::xnuepid
protected

Definition at line 66 of file FlatIDBranch.h.

Referenced by Fill().


The documentation for this class was generated from the following files: