CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Private Attributes
PhysicsTools::TreeReader::Value Class Reference

#include <TreeReader.h>

Public Member Functions

void fill (AtomicId name, TreeReader *reader) const
 
void setBranchName (const TString &name)
 
void setOpt (bool opt, double optVal)
 
void setPtr (const void *ptr)
 
void update (TreeReader *reader) const
 
 Value ()
 
 Value (int index, bool multiple, bool optional, char type)
 
 ~Value ()
 

Private Attributes

int index
 
bool multiple
 
TString name
 
bool optional
 
double optVal
 
const void * ptr
 
char type
 

Detailed Description

Definition at line 65 of file TreeReader.h.

Constructor & Destructor Documentation

PhysicsTools::TreeReader::Value::Value ( )
inline

Definition at line 67 of file TreeReader.h.

67 {}
PhysicsTools::TreeReader::Value::Value ( int  index,
bool  multiple,
bool  optional,
char  type 
)
inline
PhysicsTools::TreeReader::Value::~Value ( )
inline

Definition at line 71 of file TreeReader.h.

71 {}

Member Function Documentation

void PhysicsTools::TreeReader::Value::fill ( AtomicId  name,
TreeReader reader 
) const

Definition at line 400 of file TreeReader.cc.

void PhysicsTools::TreeReader::Value::setBranchName ( const TString &  name)
inline

Definition at line 75 of file TreeReader.h.

References name.

76  { this->name = name; }
void PhysicsTools::TreeReader::Value::setOpt ( bool  opt,
double  optVal 
)
inline

Definition at line 73 of file TreeReader.h.

References optional, and optVal.

74  { this->optional = opt, this->optVal = optVal; }
void PhysicsTools::TreeReader::Value::setPtr ( const void *  ptr)
inline

Definition at line 77 of file TreeReader.h.

References ptr.

78  { this->ptr = ptr; }
void PhysicsTools::TreeReader::Value::update ( TreeReader reader) const

Definition at line 352 of file TreeReader.cc.

Referenced by Vispa.Gui.ZoomableWidget.ZoomableWidget::setZoom().

Member Data Documentation

int PhysicsTools::TreeReader::Value::index
private

Definition at line 85 of file TreeReader.h.

bool PhysicsTools::TreeReader::Value::multiple
private

Definition at line 87 of file TreeReader.h.

TString PhysicsTools::TreeReader::Value::name
private

Definition at line 84 of file TreeReader.h.

Referenced by VIDSelectorBase.VIDSelectorBase::initialize(), and setBranchName().

bool PhysicsTools::TreeReader::Value::optional
private

Definition at line 86 of file TreeReader.h.

Referenced by setOpt().

double PhysicsTools::TreeReader::Value::optVal
private

Definition at line 88 of file TreeReader.h.

Referenced by setOpt().

const void* PhysicsTools::TreeReader::Value::ptr
private

Definition at line 90 of file TreeReader.h.

Referenced by setPtr().

char PhysicsTools::TreeReader::Value::type
private

Definition at line 89 of file TreeReader.h.