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

Flat encoding of SRGenieWeights. More...

#include "/cvmfs/"

Public Member Functions

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

Protected Attributes

float minus2sigma
float minus1sigma
float plus1sigma
float plus2sigma

Detailed Description

Flat encoding of SRGenieWeights.

Definition at line 20 of file FlatGenieWeights.h.

Constructor & Destructor Documentation

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

Definition at line 1332 of file FlatRecord.cxx.

References compare_h5_caf::branch.

1333 {
1334  branch(tr, prefix+"minus2sigma", &minus2sigma, policy);
1335  branch(tr, prefix+"minus1sigma", &minus1sigma, policy);
1336  branch(tr, prefix+"plus1sigma", &plus1sigma, policy);
1337  branch(tr, prefix+"plus2sigma", &plus2sigma, policy);
1338 }
const XML_Char * prefix
Definition: expat.h:380
flat::FlatGenieWeights::~FlatGenieWeights ( )

Definition at line 1340 of file FlatRecord.cxx.

1341 {
1342 }

Member Function Documentation

void flat::FlatGenieWeights::Fill ( const caf::SRGenieWeights sr)

Definition at line 1344 of file FlatRecord.cxx.

References caf::SRGenieWeights::minus1sigma, caf::SRGenieWeights::minus2sigma, caf::SRGenieWeights::plus1sigma, and caf::SRGenieWeights::plus2sigma.

1345 {
1346  minus2sigma = sr.minus2sigma;
1347  minus1sigma = sr.minus1sigma;
1348  plus1sigma = sr.plus1sigma;
1349  plus2sigma = sr.plus2sigma;
1350 }
float minus2sigma
Reweight for shift.
float minus1sigma
Reweight for shift.
float plus2sigma
Reweight for shift.
float plus1sigma
Reweight for shift.

Member Data Documentation

float flat::FlatGenieWeights::minus1sigma

Definition at line 30 of file FlatGenieWeights.h.

float flat::FlatGenieWeights::minus2sigma

Definition at line 29 of file FlatGenieWeights.h.

float flat::FlatGenieWeights::plus1sigma

Definition at line 31 of file FlatGenieWeights.h.

float flat::FlatGenieWeights::plus2sigma

Definition at line 32 of file FlatGenieWeights.h.

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