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

Flat encoding of SRMRProperties. More...

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

Public Member Functions

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

Protected Attributes

short unsigned int nhit
 
short unsigned int nhitx
 
short unsigned int nhity
 
short unsigned int nplane
 
short unsigned int maxplanecont
 
short unsigned int maxplanegap
 
float calE
 
short unsigned int view
 
short unsigned int nplanex
 
short unsigned int nplaney
 
short unsigned int minplane
 
short unsigned int maxplane
 
float gap
 
bool isDiF
 
bool isShwDiF
 
FlatParticleTruth truth
 
FlatParticleTruth truthXView
 
FlatParticleTruth truthYView
 
FlatShowerLID lid
 
FlatCVNResult cvnloosepreselptp
 
FlatCVNResult cvnoldpresel
 
FlatCVNResult cvnnocosmics
 

Detailed Description

Flat encoding of SRMRProperties.

Definition at line 23 of file FlatMRProperties.h.

Constructor & Destructor Documentation

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

Definition at line 4019 of file FlatRecord.cxx.

References compare_h5_caf::branch, calE, gap, isDiF, isShwDiF, maxplane, maxplanecont, maxplanegap, minplane, nhit, nhitx, nhity, nplane, nplanex, nplaney, and view.

4020  : truth(prefix+"truth.", tr, policy),
4021  truthXView(prefix+"truthXView.", tr, policy),
4022  truthYView(prefix+"truthYView.", tr, policy),
4023  lid(prefix+"lid.", tr, policy),
4024  cvnloosepreselptp(prefix+"cvnloosepreselptp.", tr, policy),
4025  cvnoldpresel(prefix+"cvnoldpresel.", tr, policy),
4026  cvnnocosmics(prefix+"cvnnocosmics.", tr, policy)
4027 {
4028  branch(tr, prefix+"nhit", &nhit, policy);
4029  branch(tr, prefix+"nhitx", &nhitx, policy);
4030  branch(tr, prefix+"nhity", &nhity, policy);
4031  branch(tr, prefix+"nplane", &nplane, policy);
4032  branch(tr, prefix+"maxplanecont", &maxplanecont, policy);
4033  branch(tr, prefix+"maxplanegap", &maxplanegap, policy);
4034  branch(tr, prefix+"calE", &calE, policy);
4035  branch(tr, prefix+"view", &view, policy);
4036  branch(tr, prefix+"nplanex", &nplanex, policy);
4037  branch(tr, prefix+"nplaney", &nplaney, policy);
4038  branch(tr, prefix+"minplane", &minplane, policy);
4039  branch(tr, prefix+"maxplane", &maxplane, policy);
4040  branch(tr, prefix+"gap", &gap, policy);
4041  branch(tr, prefix+"isDiF", &isDiF, policy);
4042  branch(tr, prefix+"isShwDiF", &isShwDiF, policy);
4043 }
short unsigned int nplane
FlatParticleTruth truth
short unsigned int nhit
FlatCVNResult cvnoldpresel
short unsigned int minplane
short unsigned int maxplanecont
FlatParticleTruth truthXView
FlatCVNResult cvnloosepreselptp
short unsigned int maxplanegap
const XML_Char * prefix
Definition: expat.h:380
short unsigned int view
short unsigned int maxplane
FlatParticleTruth truthYView
short unsigned int nplanex
short unsigned int nplaney
short unsigned int nhitx
FlatCVNResult cvnnocosmics
short unsigned int nhity
flat::FlatMRProperties::~FlatMRProperties ( )

Definition at line 4045 of file FlatRecord.cxx.

4046 {
4047 }

Member Function Documentation

void flat::FlatMRProperties::Fill ( const caf::SRMRProperties sr)

Definition at line 4049 of file FlatRecord.cxx.

References caf::SRMRProperties::calE, calE, caf::SRMRProperties::cvnloosepreselptp, cvnloosepreselptp, caf::SRMRProperties::cvnnocosmics, cvnnocosmics, caf::SRMRProperties::cvnoldpresel, cvnoldpresel, flat::FlatCVNResult::Fill(), flat::FlatParticleTruth::Fill(), flat::FlatShowerLID::Fill(), caf::SRMRProperties::gap, gap, caf::SRMRProperties::isDiF, isDiF, caf::SRMRProperties::isShwDiF, isShwDiF, caf::SRMRProperties::lid, lid, caf::SRMRProperties::maxplane, maxplane, caf::SRMRProperties::maxplanecont, maxplanecont, caf::SRMRProperties::maxplanegap, maxplanegap, caf::SRMRProperties::minplane, minplane, caf::SRMRProperties::nhit, nhit, caf::SRMRProperties::nhitx, nhitx, caf::SRMRProperties::nhity, nhity, caf::SRMRProperties::nplane, nplane, caf::SRMRProperties::nplanex, nplanex, caf::SRMRProperties::nplaney, nplaney, caf::SRMRProperties::truth, truth, caf::SRMRProperties::truthXView, truthXView, caf::SRMRProperties::truthYView, truthYView, caf::SRMRProperties::view, and view.

Referenced by flat::FlatBpfTrack::Fill(), flat::FlatTrack::Fill(), and flat::FlatKalmanTrack::Fill().

4050 {
4051  nhit = sr.nhit;
4052  nhitx = sr.nhitx;
4053  nhity = sr.nhity;
4054  nplane = sr.nplane;
4056  maxplanegap = sr.maxplanegap;
4057  calE = sr.calE;
4058  view = sr.view;
4059  nplanex = sr.nplanex;
4060  nplaney = sr.nplaney;
4061  minplane = sr.minplane;
4062  maxplane = sr.maxplane;
4063  gap = sr.gap;
4064  isDiF = sr.isDiF;
4065  isShwDiF = sr.isShwDiF;
4066 
4067  truth.Fill(sr.truth);
4070  lid.Fill(sr.lid);
4074 }
unsigned short nhit
number of hits
unsigned short nhitx
number of hits in x-view
unsigned short nplaney
number of planes spanned in y view
SRParticleTruth truthXView
Truth information for the prong.
short unsigned int nplane
unsigned short maxplanegap
maximum number of gapped planes in prong
View_t view
Prong view caf::kX = 0, caf::kY = 1 or caf::kXorY = 2.
FlatParticleTruth truth
short unsigned int nhit
FlatCVNResult cvnoldpresel
unsigned short minplane
minimum plane from the cluster
SRParticleTruth truthYView
Truth information for the prong.
SRCVNResult cvnnocosmics
Output from CVN - No cosmics ued in training (many-class PID)
short unsigned int minplane
unsigned short maxplane
maximum plane from the cluster
void Fill(const caf::SRParticleTruth &sr)
unsigned short maxplanecont
maximum number of contiguous planes in prong
short unsigned int maxplanecont
void Fill(const caf::SRShowerLID &sr)
unsigned short nplanex
number of planes spanned in x view
SRParticleTruth truth
Truth information for the prong.
SRCVNResult cvnoldpresel
Output from CVN - Preselection used in Prod3/4 (many-class PID)
unsigned short nhity
number of hits in y-view
unsigned short nplane
number of planes spanned
FlatParticleTruth truthXView
FlatCVNResult cvnloosepreselptp
void Fill(const caf::SRCVNResult &sr)
short unsigned int maxplanegap
SRShowerLID lid
LID PID information for the MR Shower.
short unsigned int view
float calE
energy based on summed calibrated deposited charge [GeV]
short unsigned int maxplane
FlatParticleTruth truthYView
short unsigned int nplanex
short unsigned int nplaney
short unsigned int nhitx
FlatCVNResult cvnnocosmics
float gap
gap from shower start to ElasticArms vertex [cm]
SRCVNResult cvnloosepreselptp
Output from CVN - Loose Presel plus PtP cut (many-class PID)
short unsigned int nhity

Member Data Documentation

float flat::FlatMRProperties::calE
protected

Definition at line 38 of file FlatMRProperties.h.

Referenced by Fill(), and FlatMRProperties().

FlatCVNResult flat::FlatMRProperties::cvnloosepreselptp
protected

Definition at line 52 of file FlatMRProperties.h.

Referenced by Fill().

FlatCVNResult flat::FlatMRProperties::cvnnocosmics
protected

Definition at line 54 of file FlatMRProperties.h.

Referenced by Fill().

FlatCVNResult flat::FlatMRProperties::cvnoldpresel
protected

Definition at line 53 of file FlatMRProperties.h.

Referenced by Fill().

float flat::FlatMRProperties::gap
protected

Definition at line 44 of file FlatMRProperties.h.

Referenced by Fill(), and FlatMRProperties().

bool flat::FlatMRProperties::isDiF
protected

Definition at line 45 of file FlatMRProperties.h.

Referenced by Fill(), and FlatMRProperties().

bool flat::FlatMRProperties::isShwDiF
protected

Definition at line 46 of file FlatMRProperties.h.

Referenced by Fill(), and FlatMRProperties().

FlatShowerLID flat::FlatMRProperties::lid
protected

Definition at line 51 of file FlatMRProperties.h.

Referenced by Fill().

short unsigned int flat::FlatMRProperties::maxplane
protected

Definition at line 43 of file FlatMRProperties.h.

Referenced by Fill(), and FlatMRProperties().

short unsigned int flat::FlatMRProperties::maxplanecont
protected

Definition at line 36 of file FlatMRProperties.h.

Referenced by Fill(), and FlatMRProperties().

short unsigned int flat::FlatMRProperties::maxplanegap
protected

Definition at line 37 of file FlatMRProperties.h.

Referenced by Fill(), and FlatMRProperties().

short unsigned int flat::FlatMRProperties::minplane
protected

Definition at line 42 of file FlatMRProperties.h.

Referenced by Fill(), and FlatMRProperties().

short unsigned int flat::FlatMRProperties::nhit
protected

Definition at line 32 of file FlatMRProperties.h.

Referenced by Fill(), and FlatMRProperties().

short unsigned int flat::FlatMRProperties::nhitx
protected

Definition at line 33 of file FlatMRProperties.h.

Referenced by Fill(), and FlatMRProperties().

short unsigned int flat::FlatMRProperties::nhity
protected

Definition at line 34 of file FlatMRProperties.h.

Referenced by Fill(), and FlatMRProperties().

short unsigned int flat::FlatMRProperties::nplane
protected

Definition at line 35 of file FlatMRProperties.h.

Referenced by Fill(), and FlatMRProperties().

short unsigned int flat::FlatMRProperties::nplanex
protected

Definition at line 40 of file FlatMRProperties.h.

Referenced by Fill(), and FlatMRProperties().

short unsigned int flat::FlatMRProperties::nplaney
protected

Definition at line 41 of file FlatMRProperties.h.

Referenced by Fill(), and FlatMRProperties().

FlatParticleTruth flat::FlatMRProperties::truth
protected

Definition at line 48 of file FlatMRProperties.h.

Referenced by Fill().

FlatParticleTruth flat::FlatMRProperties::truthXView
protected

Definition at line 49 of file FlatMRProperties.h.

Referenced by Fill().

FlatParticleTruth flat::FlatMRProperties::truthYView
protected

Definition at line 50 of file FlatMRProperties.h.

Referenced by Fill().

short unsigned int flat::FlatMRProperties::view
protected

Definition at line 39 of file FlatMRProperties.h.

Referenced by Fill(), and FlatMRProperties().


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