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

Flat encoding of SRMRCCParent. More...

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

Public Member Functions

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

Protected Attributes

int slcidx
 
float eff
 
float pur
 
int nhit
 
int contplanes
 
int ncellsfromedge
 
int firstplane
 
int lastplane
 
float remid
 
float cvnm
 
float muonyattrans
 
int muonfwdcell
 
int muonbkcell
 
float numuE
 
float muE
 
float hadEinmucat
 
FlatVector3D muonstart
 
FlatVector3D muonstop
 

Detailed Description

Flat encoding of SRMRCCParent.

Definition at line 21 of file FlatMRCCParent.h.

Constructor & Destructor Documentation

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

Definition at line 332 of file FlatRecord.cxx.

References compare_h5_caf::branch, contplanes, cvnm, eff, firstplane, hadEinmucat, lastplane, muE, muonbkcell, muonfwdcell, muonyattrans, ncellsfromedge, nhit, numuE, pur, and slcidx.

333  : muonstart(prefix+"muonstart.", tr, policy),
334  muonstop(prefix+"muonstop.", tr, policy)
335 {
336  branch(tr, prefix+"slcidx", &slcidx, policy);
337  branch(tr, prefix+"eff", &eff, policy);
338  branch(tr, prefix+"pur", &pur, policy);
339  branch(tr, prefix+"nhit", &nhit, policy);
340  branch(tr, prefix+"contplanes", &contplanes, policy);
341  branch(tr, prefix+"ncellsfromedge", &ncellsfromedge, policy);
342  branch(tr, prefix+"firstplane", &firstplane, policy);
343  branch(tr, prefix+"lastplane", &lastplane, policy);
344  branch(tr, prefix+"remid", &remid, policy);
345  branch(tr, prefix+"cvnm", &cvnm, policy);
346  branch(tr, prefix+"muonyattrans", &muonyattrans, policy);
347  branch(tr, prefix+"muonfwdcell", &muonfwdcell, policy);
348  branch(tr, prefix+"muonbkcell", &muonbkcell, policy);
349  branch(tr, prefix+"numuE", &numuE, policy);
350  branch(tr, prefix+"muE", &muE, policy);
351  branch(tr, prefix+"hadEinmucat", &hadEinmucat, policy);
352 }
FlatVector3D muonstart
const XML_Char * prefix
Definition: expat.h:380
A PID for muons.
Definition: FillPIDs.h:10
FlatVector3D muonstop
flat::FlatMRCCParent::~FlatMRCCParent ( )

Definition at line 354 of file FlatRecord.cxx.

355 {
356 }

Member Function Documentation

void flat::FlatMRCCParent::Fill ( const caf::SRMRCCParent sr)

Definition at line 358 of file FlatRecord.cxx.

References contplanes, caf::SRMRCCParent::contplanes, cvnm, caf::SRMRCCParent::cvnm, caf::SRMRCCParent::eff, eff, flat::FlatVector3D::Fill(), firstplane, caf::SRMRCCParent::firstplane, hadEinmucat, caf::SRMRCCParent::hadEinmucat, lastplane, caf::SRMRCCParent::lastplane, muE, caf::SRMRCCParent::muE, muonbkcell, caf::SRMRCCParent::muonbkcell, muonfwdcell, caf::SRMRCCParent::muonfwdcell, muonstart, caf::SRMRCCParent::muonstart, muonstop, caf::SRMRCCParent::muonstop, muonyattrans, caf::SRMRCCParent::muonyattrans, ncellsfromedge, caf::SRMRCCParent::ncellsfromedge, caf::SRMRCCParent::nhit, nhit, numuE, caf::SRMRCCParent::numuE, caf::SRMRCCParent::pur, pur, caf::SRMRCCParent::remid, caf::SRMRCCParent::slcidx, and slcidx.

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

359 {
360  slcidx = sr.slcidx;
361  eff = sr.eff;
362  pur = sr.pur;
363  nhit = sr.nhit;
364  contplanes = sr.contplanes;
366  firstplane = sr.firstplane;
367  lastplane = sr.lastplane;
368  remid = sr.remid;
369  cvnm = sr.cvnm;
372  muonbkcell = sr.muonbkcell;
373  numuE = sr.numuE;
374  muE = sr.muE;
376 
378  muonstop.Fill(sr.muonstop);
379 }
float remid
ReMId value of the parent slice.
Definition: SRMRCCParent.h:44
int ncellsfromedge
number of cells from detector edge
Definition: SRMRCCParent.h:37
void Fill(const caf::SRVector3D &sr)
float hadEinmucat
hadronic energy in muon catcher and transition planes
Definition: SRMRCCParent.h:64
SRVector3D muonstart
muon track start
Definition: SRMRCCParent.h:49
float pur
Purity with which this event matched to the parent slice.
Definition: SRMRCCParent.h:30
int firstplane
first plane in slice
Definition: SRMRCCParent.h:39
FlatVector3D muonstart
float muonyattrans
muon y position at transition plane
Definition: SRMRCCParent.h:53
float numuE
energy of parent slice
Definition: SRMRCCParent.h:60
float muE
energy of muon
Definition: SRMRCCParent.h:62
float cvnm
CVNm value of the parent slice.
Definition: SRMRCCParent.h:46
SRVector3D muonstop
muon track stop
Definition: SRMRCCParent.h:51
int lastplane
last plane in slice
Definition: SRMRCCParent.h:41
float eff
Efficiency with which this event matched to the parent slice.
Definition: SRMRCCParent.h:28
int contplanes
number of contiguous planes
Definition: SRMRCCParent.h:35
int muonfwdcell
forward projected distance of muon end from detector edge in cells
Definition: SRMRCCParent.h:55
int nhit
number of hits in parent slice
Definition: SRMRCCParent.h:33
A PID for muons.
Definition: FillPIDs.h:10
int muonbkcell
backward projected distance of muon start from detector edge in cells
Definition: SRMRCCParent.h:57
int slcidx
Index of the parent slice.
Definition: SRMRCCParent.h:25
FlatVector3D muonstop

Member Data Documentation

int flat::FlatMRCCParent::contplanes
protected

Definition at line 34 of file FlatMRCCParent.h.

Referenced by Fill(), and FlatMRCCParent().

float flat::FlatMRCCParent::cvnm
protected

Definition at line 39 of file FlatMRCCParent.h.

Referenced by Fill(), and FlatMRCCParent().

float flat::FlatMRCCParent::eff
protected

Definition at line 31 of file FlatMRCCParent.h.

Referenced by Fill(), and FlatMRCCParent().

int flat::FlatMRCCParent::firstplane
protected

Definition at line 36 of file FlatMRCCParent.h.

Referenced by Fill(), and FlatMRCCParent().

float flat::FlatMRCCParent::hadEinmucat
protected

Definition at line 45 of file FlatMRCCParent.h.

Referenced by Fill(), and FlatMRCCParent().

int flat::FlatMRCCParent::lastplane
protected

Definition at line 37 of file FlatMRCCParent.h.

Referenced by Fill(), and FlatMRCCParent().

float flat::FlatMRCCParent::muE
protected

Definition at line 44 of file FlatMRCCParent.h.

Referenced by Fill(), and FlatMRCCParent().

int flat::FlatMRCCParent::muonbkcell
protected

Definition at line 42 of file FlatMRCCParent.h.

Referenced by Fill(), and FlatMRCCParent().

int flat::FlatMRCCParent::muonfwdcell
protected

Definition at line 41 of file FlatMRCCParent.h.

Referenced by Fill(), and FlatMRCCParent().

FlatVector3D flat::FlatMRCCParent::muonstart
protected

Definition at line 47 of file FlatMRCCParent.h.

Referenced by Fill().

FlatVector3D flat::FlatMRCCParent::muonstop
protected

Definition at line 48 of file FlatMRCCParent.h.

Referenced by Fill().

float flat::FlatMRCCParent::muonyattrans
protected

Definition at line 40 of file FlatMRCCParent.h.

Referenced by Fill(), and FlatMRCCParent().

int flat::FlatMRCCParent::ncellsfromedge
protected

Definition at line 35 of file FlatMRCCParent.h.

Referenced by Fill(), and FlatMRCCParent().

int flat::FlatMRCCParent::nhit
protected

Definition at line 33 of file FlatMRCCParent.h.

Referenced by Fill(), and FlatMRCCParent().

float flat::FlatMRCCParent::numuE
protected

Definition at line 43 of file FlatMRCCParent.h.

Referenced by Fill(), and FlatMRCCParent().

float flat::FlatMRCCParent::pur
protected

Definition at line 32 of file FlatMRCCParent.h.

Referenced by Fill(), and FlatMRCCParent().

float flat::FlatMRCCParent::remid
protected

Definition at line 38 of file FlatMRCCParent.h.

int flat::FlatMRCCParent::slcidx
protected

Definition at line 30 of file FlatMRCCParent.h.

Referenced by Fill(), and FlatMRCCParent().


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