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

Flat encoding of SRShowerLID. More...

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

Public Member Functions

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

Protected Attributes

float shwE
 
float vtxE
 
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
 
float len
 
short unsigned int view
 
float width
 
short unsigned int nplanex
 
short unsigned int nplaney
 
float gap
 
FlatSLidEnergy lidE
 
FlatSLid lid
 
FlatVector3D start
 
FlatVector3D dir
 
FlatVector3D stop
 
FlatParticleTruth truth
 
FlatParticleTruth truthXView
 
FlatParticleTruth truthYView
 

Detailed Description

Flat encoding of SRShowerLID.

Definition at line 24 of file FlatShowerLID.h.

Constructor & Destructor Documentation

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

Definition at line 4125 of file FlatRecord.cxx.

References compare_h5_caf::branch, calE, gap, maxplanecont, maxplanegap, nhit, nhitx, nhity, nplane, nplanex, nplaney, shwE, view, vtxE, and width.

4126  : lidE(prefix+"lidE.", tr, policy),
4127  lid(prefix+"lid.", tr, policy),
4128  start(prefix+"start.", tr, policy),
4129  dir(prefix+"dir.", tr, policy),
4130  stop(prefix+"stop.", tr, policy),
4131  truth(prefix+"truth.", tr, policy),
4132  truthXView(prefix+"truthXView.", tr, policy),
4133  truthYView(prefix+"truthYView.", tr, policy)
4134 {
4135  branch(tr, prefix+"shwE", &shwE, policy);
4136  branch(tr, prefix+"vtxE", &vtxE, policy);
4137  branch(tr, prefix+"nhit", &nhit, policy);
4138  branch(tr, prefix+"nhitx", &nhitx, policy);
4139  branch(tr, prefix+"nhity", &nhity, policy);
4140  branch(tr, prefix+"nplane", &nplane, policy);
4141  branch(tr, prefix+"maxplanecont", &maxplanecont, policy);
4142  branch(tr, prefix+"maxplanegap", &maxplanegap, policy);
4143  branch(tr, prefix+"calE", &calE, policy);
4144  branch(tr, prefix+"len", &len, policy);
4145  branch(tr, prefix+"view", &view, policy);
4146  branch(tr, prefix+"width", &width, policy);
4147  branch(tr, prefix+"nplanex", &nplanex, policy);
4148  branch(tr, prefix+"nplaney", &nplaney, policy);
4149  branch(tr, prefix+"gap", &gap, policy);
4150 }
const XML_Char int len
Definition: expat.h:262
FlatVector3D start
Definition: FlatShowerLID.h:51
FlatParticleTruth truthXView
Definition: FlatShowerLID.h:55
short unsigned int maxplanecont
Definition: FlatShowerLID.h:39
short unsigned int nhity
Definition: FlatShowerLID.h:37
FlatSLidEnergy lidE
Definition: FlatShowerLID.h:49
FlatVector3D dir
Definition: FlatShowerLID.h:52
FlatParticleTruth truth
Definition: FlatShowerLID.h:54
short unsigned int maxplanegap
Definition: FlatShowerLID.h:40
short unsigned int nplane
Definition: FlatShowerLID.h:38
short unsigned int nplaney
Definition: FlatShowerLID.h:46
short unsigned int nhit
Definition: FlatShowerLID.h:35
FlatParticleTruth truthYView
Definition: FlatShowerLID.h:56
const XML_Char * prefix
Definition: expat.h:380
short unsigned int view
Definition: FlatShowerLID.h:43
short unsigned int nhitx
Definition: FlatShowerLID.h:36
FlatVector3D stop
Definition: FlatShowerLID.h:53
short unsigned int nplanex
Definition: FlatShowerLID.h:45
flat::FlatShowerLID::~FlatShowerLID ( )

Definition at line 4152 of file FlatRecord.cxx.

4153 {
4154 }

Member Function Documentation

void flat::FlatShowerLID::Fill ( const caf::SRShowerLID sr)

Definition at line 4156 of file FlatRecord.cxx.

References caf::SRShower::calE, calE, caf::SRShower::dir, dir, flat::FlatSLid::Fill(), flat::FlatVector3D::Fill(), flat::FlatSLidEnergy::Fill(), flat::FlatParticleTruth::Fill(), caf::SRShower::gap, gap, caf::SRShower::len, caf::SRShowerLID::lid, lid, caf::SRShowerLID::lidE, lidE, caf::SRShower::maxplanecont, maxplanecont, caf::SRShower::maxplanegap, maxplanegap, caf::SRShower::nhit, nhit, caf::SRShower::nhitx, nhitx, caf::SRShower::nhity, nhity, caf::SRShower::nplane, nplane, caf::SRShower::nplanex, nplanex, caf::SRShower::nplaney, nplaney, caf::SRShowerLID::shwE, shwE, caf::SRShower::start, start, caf::SRShower::stop, stop, caf::SRShower::truth, truth, caf::SRShower::truthXView, truthXView, caf::SRShower::truthYView, truthYView, caf::SRShower::view, view, caf::SRShowerLID::vtxE, vtxE, caf::SRShower::width, and width.

Referenced by flat::FlatMRProperties::Fill(), and flat::FlatFuzzyKProng::Fill().

4157 {
4158  shwE = sr.shwE;
4159  vtxE = sr.vtxE;
4160  nhit = sr.nhit;
4161  nhitx = sr.nhitx;
4162  nhity = sr.nhity;
4163  nplane = sr.nplane;
4165  maxplanegap = sr.maxplanegap;
4166  calE = sr.calE;
4167  len = sr.len;
4168  view = sr.view;
4169  width = sr.width;
4170  nplanex = sr.nplanex;
4171  nplaney = sr.nplaney;
4172  gap = sr.gap;
4173 
4174  lidE.Fill(sr.lidE);
4175  lid.Fill(sr.lid);
4176  start.Fill(sr.start);
4177  dir.Fill(sr.dir);
4178  stop.Fill(sr.stop);
4179  truth.Fill(sr.truth);
4182 }
const XML_Char int len
Definition: expat.h:262
unsigned short maxplanecont
maximum number of contiguous planes in prong
Definition: SRShower.h:29
FlatVector3D start
Definition: FlatShowerLID.h:51
SRVector3D dir
Shower direction at start point [unit vector recommended].
Definition: SRShower.h:33
FlatParticleTruth truthXView
Definition: FlatShowerLID.h:55
void Fill(const caf::SRVector3D &sr)
short unsigned int maxplanecont
Definition: FlatShowerLID.h:39
unsigned short nplaney
number of planes spanned in y view
Definition: SRShower.h:39
float gap
gap from shower start to ElasticArms vertex [cm]
Definition: SRShower.h:40
unsigned short nhit
number of hits
Definition: SRShower.h:25
short unsigned int nhity
Definition: FlatShowerLID.h:37
FlatSLidEnergy lidE
Definition: FlatShowerLID.h:49
FlatVector3D dir
Definition: FlatShowerLID.h:52
unsigned short nhitx
number of hits in x-view
Definition: SRShower.h:26
SRParticleTruth truth
Truth information for the prong.
Definition: SRShower.h:42
float calE
energy based on summed calibrated deposited charge [GeV]
Definition: SRShower.h:31
FlatParticleTruth truth
Definition: FlatShowerLID.h:54
short unsigned int maxplanegap
Definition: FlatShowerLID.h:40
void Fill(const caf::SRSLid &sr)
short unsigned int nplane
Definition: FlatShowerLID.h:38
void Fill(const caf::SRParticleTruth &sr)
short unsigned int nplaney
Definition: FlatShowerLID.h:46
short unsigned int nhit
Definition: FlatShowerLID.h:35
unsigned short nplanex
number of planes spanned in x view
Definition: SRShower.h:38
FlatParticleTruth truthYView
Definition: FlatShowerLID.h:56
SRVector3D start
Shower start point in detector coordinates. [cm].
Definition: SRShower.h:32
SRParticleTruth truthYView
Truth information for the prong.
Definition: SRShower.h:44
void Fill(const caf::SRSLidEnergy &sr)
unsigned short nplane
number of planes spanned
Definition: SRShower.h:28
float shwE
reconstructed shower energy [GeV]
Definition: SRShowerLID.h:28
unsigned short nhity
number of hits in y-view
Definition: SRShower.h:27
short unsigned int view
Definition: FlatShowerLID.h:43
SRVector3D stop
shower stop point
Definition: SRShower.h:41
SRSLidEnergy lidE
Definition: SRShowerLID.h:34
short unsigned int nhitx
Definition: FlatShowerLID.h:36
FlatVector3D stop
Definition: FlatShowerLID.h:53
float len
track length [cm]
Definition: SRShower.h:34
unsigned short maxplanegap
maximum number of gapped planes in prong
Definition: SRShower.h:30
float width
Shower width [cm].
Definition: SRShower.h:37
View_t view
Prong view caf::kX = 0, caf::kY = 1 or caf::kXorY = 2.
Definition: SRShower.h:35
SRParticleTruth truthXView
Truth information for the prong.
Definition: SRShower.h:43
float vtxE
calorimetric energy of [GeV]
Definition: SRShowerLID.h:29
short unsigned int nplanex
Definition: FlatShowerLID.h:45

Member Data Documentation

float flat::FlatShowerLID::calE
protected

Definition at line 41 of file FlatShowerLID.h.

Referenced by Fill(), and FlatShowerLID().

FlatVector3D flat::FlatShowerLID::dir
protected

Definition at line 52 of file FlatShowerLID.h.

Referenced by Fill().

float flat::FlatShowerLID::gap
protected
float flat::FlatShowerLID::len
protected

Definition at line 42 of file FlatShowerLID.h.

FlatSLid flat::FlatShowerLID::lid
protected

Definition at line 50 of file FlatShowerLID.h.

Referenced by Fill().

FlatSLidEnergy flat::FlatShowerLID::lidE
protected

Definition at line 49 of file FlatShowerLID.h.

Referenced by Fill().

short unsigned int flat::FlatShowerLID::maxplanecont
protected

Definition at line 39 of file FlatShowerLID.h.

Referenced by Fill(), and FlatShowerLID().

short unsigned int flat::FlatShowerLID::maxplanegap
protected

Definition at line 40 of file FlatShowerLID.h.

Referenced by Fill(), and FlatShowerLID().

short unsigned int flat::FlatShowerLID::nhit
protected

Definition at line 35 of file FlatShowerLID.h.

Referenced by Fill(), and FlatShowerLID().

short unsigned int flat::FlatShowerLID::nhitx
protected

Definition at line 36 of file FlatShowerLID.h.

Referenced by Fill(), and FlatShowerLID().

short unsigned int flat::FlatShowerLID::nhity
protected

Definition at line 37 of file FlatShowerLID.h.

Referenced by Fill(), and FlatShowerLID().

short unsigned int flat::FlatShowerLID::nplane
protected

Definition at line 38 of file FlatShowerLID.h.

Referenced by Fill(), and FlatShowerLID().

short unsigned int flat::FlatShowerLID::nplanex
protected

Definition at line 45 of file FlatShowerLID.h.

Referenced by Fill(), and FlatShowerLID().

short unsigned int flat::FlatShowerLID::nplaney
protected

Definition at line 46 of file FlatShowerLID.h.

Referenced by Fill(), and FlatShowerLID().

float flat::FlatShowerLID::shwE
protected
FlatVector3D flat::FlatShowerLID::start
protected

Definition at line 51 of file FlatShowerLID.h.

Referenced by Fill(), progbar.ProgressBar::Start(), and progbar.ProgressBar::Update().

FlatVector3D flat::FlatShowerLID::stop
protected

Definition at line 53 of file FlatShowerLID.h.

Referenced by Fill().

FlatParticleTruth flat::FlatShowerLID::truth
protected

Definition at line 54 of file FlatShowerLID.h.

Referenced by Fill().

FlatParticleTruth flat::FlatShowerLID::truthXView
protected

Definition at line 55 of file FlatShowerLID.h.

Referenced by Fill().

FlatParticleTruth flat::FlatShowerLID::truthYView
protected

Definition at line 56 of file FlatShowerLID.h.

Referenced by Fill().

short unsigned int flat::FlatShowerLID::view
protected

Definition at line 43 of file FlatShowerLID.h.

Referenced by Fill(), and FlatShowerLID().

float flat::FlatShowerLID::vtxE
protected

Definition at line 34 of file FlatShowerLID.h.

Referenced by Fill(), and FlatShowerLID().

float flat::FlatShowerLID::width
protected

Definition at line 44 of file FlatShowerLID.h.

Referenced by Fill(), and FlatShowerLID().


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