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

Flat encoding of SRSliceLID. More...

#include "/cvmfs/"

Public Member Functions

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

Protected Attributes

float ncid
float numuid
float nueid
float nutauid
float cosmicid

Detailed Description

Flat encoding of SRSliceLID.

Definition at line 20 of file FlatSliceLID.h.

Constructor & Destructor Documentation

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

Definition at line 1823 of file FlatRecord.cxx.

References compare_h5_caf::branch, ana::cosmicid, SliceLID::nueid(), SliceLID::numuid(), and SliceLID::nutauid().

1824 {
1825  branch(tr, prefix+"ncid", &ncid, policy);
1826  branch(tr, prefix+"numuid", &numuid, policy);
1827  branch(tr, prefix+"nueid", &nueid, policy);
1828  branch(tr, prefix+"nutauid", &nutauid, policy);
1829  branch(tr, prefix+"cosmicid", &cosmicid, policy);
1830 }
Definition: FillPIDs.h:18
const XML_Char * prefix
Definition: expat.h:380
flat::FlatSliceLID::~FlatSliceLID ( )

Definition at line 1832 of file FlatRecord.cxx.

1833 {
1834 }

Member Function Documentation

void flat::FlatSliceLID::Fill ( const caf::SRSliceLID sr)

Definition at line 1836 of file FlatRecord.cxx.

References caf::SRSliceLID::cosmicid, ana::cosmicid, caf::SRSliceLID::ncid, caf::SRSliceLID::nueid, SliceLID::nueid(), caf::SRSliceLID::numuid, SliceLID::numuid(), caf::SRSliceLID::nutauid, and SliceLID::nutauid().

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

1837 {
1838  ncid = sr.ncid;
1839  numuid = sr.numuid;
1840  nueid = sr.nueid;
1841  nutauid = sr.nutauid;
1842  cosmicid = sr.cosmicid;
1843 }
Definition: FillPIDs.h:18
float nueid
Likelihood of Charge Current NuE.
Definition: SRSliceLID.h:14
float cosmicid
Likelihood of Cosmic.
Definition: SRSliceLID.h:16
float nutauid
Likelihood of Charge Current NuTau.
Definition: SRSliceLID.h:15
float ncid
Likelihood of Neutral Current.
Definition: SRSliceLID.h:12
float numuid
Likelihood of Charge Current NuMu.
Definition: SRSliceLID.h:13

Member Data Documentation

float flat::FlatSliceLID::cosmicid

Definition at line 33 of file FlatSliceLID.h.

float flat::FlatSliceLID::ncid

Definition at line 29 of file FlatSliceLID.h.

float flat::FlatSliceLID::nueid

Definition at line 31 of file FlatSliceLID.h.

float flat::FlatSliceLID::numuid

Definition at line 30 of file FlatSliceLID.h.

float flat::FlatSliceLID::nutauid

Definition at line 32 of file FlatSliceLID.h.

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