Public Member Functions | Public Attributes | List of all members
caf::Proxy< caf::SRNuGenParticle > Class Template Reference

Proxy for caf::SRNuGenParticle. More...

#include "/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/N21-02-24/StandardRecord/Proxy/SRProxy.h"

Public Member Functions

 Proxy (TDirectory *d, TTree *tr, const std::string &name, const long &base, int offset)
 
 Proxy (const Proxy &)=delete
 
 Proxy (const Proxy &&)=delete
 
Proxyoperator= (const caf::SRNuGenParticle &x)
 
void CheckEquals (const caf::SRNuGenParticle &sr) const
 

Public Attributes

caf::Proxy< caf::SRLorentzVectorp
 
caf::Proxy< short intpdg
 
caf::Proxy< std::vector< unsigned int > > primList
 
caf::Proxy< intstatus
 

Detailed Description

template<>
class caf::Proxy< caf::SRNuGenParticle >

Proxy for caf::SRNuGenParticle.

Definition at line 377 of file SRProxy.h.

Constructor & Destructor Documentation

caf::Proxy< caf::SRNuGenParticle >::Proxy ( TDirectory *  d,
TTree *  tr,
const std::string name,
const long &  base,
int  offset 
)

Definition at line 666 of file SRProxy.cxx.

666  :
667  p(d, tr, Join(name, "p"), base, offset),
668  pdg(d, tr, Join(name, "pdg"), base, offset),
669  primList(d, tr, Join(name, "primList"), base, offset),
670  status(d, tr, Join(name, "status"), base, offset)
671 {
672 }
caf::Proxy< short int > pdg
Definition: SRProxy.h:388
const XML_Char * name
Definition: expat.h:151
caf::Proxy< caf::SRLorentzVector > p
Definition: SRProxy.h:387
const XML_Char int const XML_Char int const XML_Char * base
Definition: expat.h:331
std::string Join(const std::string &a, const std::string &b)
Definition: HDF5Record.h:17
Float_t d
Definition: plot.C:236
caf::Proxy< std::vector< unsigned int > > primList
Definition: SRProxy.h:389

Member Function Documentation

void caf::Proxy< caf::SRNuGenParticle >::CheckEquals ( const caf::SRNuGenParticle sr) const

Definition at line 683 of file SRProxy.cxx.

References caf::SRNuGenParticle::p, caf::SRNuGenParticle::pdg, make_root_from_grid_output::pdg, caf::SRNuGenParticle::primList, caf::SRNuGenParticle::status, and fabricate::status.

684 {
685  p.CheckEquals(sr.p);
686  pdg.CheckEquals(sr.pdg);
689 }
caf::Proxy< short int > pdg
Definition: SRProxy.h:388
const char * p
Definition: xmltok.h:285
std::vector< unsigned int > primList
Indices to primary (i.e. final state) descendants in SRNeutrino.
short pdg
pdg code
SRLorentzVector p
True momentum [GeV].
int status
Generator status code.
caf::Proxy< std::vector< unsigned int > > primList
Definition: SRProxy.h:389
void CheckEquals(const T &x) const

Definition at line 674 of file SRProxy.cxx.

References caf::SRNuGenParticle::p, caf::SRNuGenParticle::pdg, make_root_from_grid_output::pdg, caf::SRNuGenParticle::primList, caf::SRNuGenParticle::status, and fabricate::status.

675 {
676  p = sr.p;
677  pdg = sr.pdg;
678  primList = sr.primList;
679  status = sr.status;
680  return *this;
681 }
caf::Proxy< short int > pdg
Definition: SRProxy.h:388
const char * p
Definition: xmltok.h:285
caf::StandardRecord * sr
caf::Proxy< std::vector< unsigned int > > primList
Definition: SRProxy.h:389

Member Data Documentation

Definition at line 387 of file SRProxy.h.

Definition at line 388 of file SRProxy.h.

caf::Proxy<std::vector<unsigned int> > caf::Proxy< caf::SRNuGenParticle >::primList

Definition at line 389 of file SRProxy.h.

Definition at line 390 of file SRProxy.h.

Referenced by Component.Component::run().


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