NAGASH 0.9.8
Next Generation Analysis System
Loading...
Searching...
No Matches
Public Member Functions | Private Attributes | List of all members
NAGASH::EventVector Class Reference

Deprecated. It's better to use user defined event vector. More...

#include "NAGASH/EventVector.h"

Inheritance diagram for NAGASH::EventVector:
NAGASH::Result

Public Member Functions

 EventVector (std::shared_ptr< MSGTool > MSG, std::shared_ptr< ConfigTool > c, const TString &rname, const TString &fname="")
 
void BookVariable (const TString &name, bool *value)
 
void BookVariable (const TString &name, double *value)
 
void BookVariable (const TString &name, int *value)
 
void BookVariable (const TString &name, long *value)
 
void BookVariable (const TString &name, std::vector< bool > *value)
 
void BookVariable (const TString &name, std::vector< double > *value)
 
void BookVariable (const TString &name, std::vector< int > *value)
 
void BookVariable (const TString &name, std::vector< long > *value)
 
void BookVariable (const TString &name, std::vector< TLorentzVector > *value)
 
void BookVariable (const TString &name, std::vector< TString > *value)
 
void BookVariable (const TString &name, TLorentzVector *value)
 
void BookVariable (const TString &name, TString *value)
 
void Combine (std::shared_ptr< Result > result) override
 Return the name of the output file.
 
void Fill ()
 
void GetEvent (int ie)
 
void SetVariableAddress (const TString &name, bool *value)
 
void SetVariableAddress (const TString &name, double *value)
 
void SetVariableAddress (const TString &name, int *value)
 
void SetVariableAddress (const TString &name, long *value)
 
void SetVariableAddress (const TString &name, std::vector< bool > *value)
 
void SetVariableAddress (const TString &name, std::vector< double > *value)
 
void SetVariableAddress (const TString &name, std::vector< int > *value)
 
void SetVariableAddress (const TString &name, std::vector< long > *value)
 
void SetVariableAddress (const TString &name, std::vector< TLorentzVector > *value)
 
void SetVariableAddress (const TString &name, std::vector< TString > *value)
 
void SetVariableAddress (const TString &name, TLorentzVector *value)
 
void SetVariableAddress (const TString &name, TString *value)
 
int Size ()
 
- Public Member Functions inherited from NAGASH::Result
const TString & GetOutputFileName ()
 Return the name of the result.
 
const TString & GetResultName ()
 
virtual void WriteToFile ()
 

Private Attributes

std::map< bool *, std::vector< bool > * > BookVarMapBool
 
std::map< std::vector< bool > *, std::vector< std::vector< bool > > * > BookVarMapBoolVec
 
std::map< double *, std::vector< double > * > BookVarMapDouble
 
std::map< std::vector< double > *, std::vector< std::vector< double > > * > BookVarMapDoubleVec
 
std::map< int *, std::vector< int > * > BookVarMapInt
 
std::map< std::vector< int > *, std::vector< std::vector< int > > * > BookVarMapIntVec
 
std::map< long *, std::vector< long > * > BookVarMapLong
 
std::map< std::vector< long > *, std::vector< std::vector< long > > * > BookVarMapLongVec
 
std::map< TLorentzVector *, std::vector< TLorentzVector > * > BookVarMapTLorentzVector
 
std::map< std::vector< TLorentzVector > *, std::vector< std::vector< TLorentzVector > > * > BookVarMapTLorentzVectorVec
 
std::map< TString *, std::vector< TString > * > BookVarMapTString
 
std::map< std::vector< TString > *, std::vector< std::vector< TString > > * > BookVarMapTStringVec
 
std::map< bool *, std::vector< bool > * > SetVarMapBool
 
std::map< std::vector< bool > *, std::vector< std::vector< bool > > * > SetVarMapBoolVec
 
std::map< double *, std::vector< double > * > SetVarMapDouble
 
std::map< std::vector< double > *, std::vector< std::vector< double > > * > SetVarMapDoubleVec
 
std::map< int *, std::vector< int > * > SetVarMapInt
 
std::map< std::vector< int > *, std::vector< std::vector< int > > * > SetVarMapIntVec
 
std::map< long *, std::vector< long > * > SetVarMapLong
 
std::map< std::vector< long > *, std::vector< std::vector< long > > * > SetVarMapLongVec
 
std::map< TLorentzVector *, std::vector< TLorentzVector > * > SetVarMapTLorentzVector
 
std::map< std::vector< TLorentzVector > *, std::vector< std::vector< TLorentzVector > > * > SetVarMapTLorentzVectorVec
 
std::map< TString *, std::vector< TString > * > SetVarMapTString
 
std::map< std::vector< TString > *, std::vector< std::vector< TString > > * > SetVarMapTStringVec
 
int size = 0
 
std::map< TString, std::vector< bool > > ValueMapBool
 
std::map< TString, std::vector< std::vector< bool > > > ValueMapBoolVec
 
std::map< TString, std::vector< double > > ValueMapDouble
 
std::map< TString, std::vector< std::vector< double > > > ValueMapDoubleVec
 
std::map< TString, std::vector< int > > ValueMapInt
 
std::map< TString, std::vector< std::vector< int > > > ValueMapIntVec
 
std::map< TString, std::vector< long > > ValueMapLong
 
std::map< TString, std::vector< std::vector< long > > > ValueMapLongVec
 
std::map< TString, std::vector< TLorentzVector > > ValueMapTLorentzVector
 
std::map< TString, std::vector< std::vector< TLorentzVector > > > ValueMapTLorentzVectorVec
 
std::map< TString, std::vector< TString > > ValueMapTString
 
std::map< TString, std::vector< std::vector< TString > > > ValueMapTStringVec
 

Additional Inherited Members

- Protected Member Functions inherited from NAGASH::Result
 Result ()=delete
 
 Result (const Result &result)=delete
 
 Result (Result &&result)=delete
 
 Result (std::shared_ptr< MSGTool > MSG, std::shared_ptr< ConfigTool > c, const TString &rname, const TString &fname="")
 virtual interface to write the result to a file.
 
virtual ~Result ()=default
 
std::shared_ptr< ConfigTool > ConfigUser ()
 Return the internal ConfigTool.>
 
std::shared_ptr< MSGTool > MSGUser ()
 Return the internal MSGTool.
 
Result & operator= (const Result &result)=delete
 
Result & operator= (Result &&result)=delete
 
void SetOutputFileName (const TString &fileName)
 Set the output file name of the result.
 
Toolkit * ToolkitUser ()
 Return the internal Toolkit.
 

Detailed Description

Deprecated. It's better to use user defined event vector.

Definition at line 16 of file EventVector.h.

Constructor & Destructor Documentation

◆ EventVector()

NAGASH::EventVector::EventVector ( std::shared_ptr< MSGTool >  MSG,
std::shared_ptr< ConfigTool >  c,
const TString &  rname,
const TString &  fname = "" 
)
inline

Definition at line 19 of file EventVector.h.

Member Function Documentation

◆ BookVariable() [1/12]

void EventVector::BookVariable ( const TString &  name,
bool *  value 
)

Definition at line 164 of file EventVector.cxx.

◆ BookVariable() [2/12]

void EventVector::BookVariable ( const TString &  name,
double *  value 
)

Definition at line 148 of file EventVector.cxx.

◆ BookVariable() [3/12]

void EventVector::BookVariable ( const TString &  name,
int *  value 
)

Definition at line 116 of file EventVector.cxx.

◆ BookVariable() [4/12]

void EventVector::BookVariable ( const TString &  name,
long *  value 
)

Definition at line 132 of file EventVector.cxx.

◆ BookVariable() [5/12]

void EventVector::BookVariable ( const TString &  name,
std::vector< bool > *  value 
)

Definition at line 260 of file EventVector.cxx.

◆ BookVariable() [6/12]

void EventVector::BookVariable ( const TString &  name,
std::vector< double > *  value 
)

Definition at line 244 of file EventVector.cxx.

◆ BookVariable() [7/12]

void EventVector::BookVariable ( const TString &  name,
std::vector< int > *  value 
)

Definition at line 212 of file EventVector.cxx.

◆ BookVariable() [8/12]

void EventVector::BookVariable ( const TString &  name,
std::vector< long > *  value 
)

Definition at line 228 of file EventVector.cxx.

◆ BookVariable() [9/12]

void EventVector::BookVariable ( const TString &  name,
std::vector< TLorentzVector > *  value 
)

Definition at line 292 of file EventVector.cxx.

◆ BookVariable() [10/12]

void EventVector::BookVariable ( const TString &  name,
std::vector< TString > *  value 
)

Definition at line 276 of file EventVector.cxx.

◆ BookVariable() [11/12]

void EventVector::BookVariable ( const TString &  name,
TLorentzVector *  value 
)

Definition at line 196 of file EventVector.cxx.

◆ BookVariable() [12/12]

void EventVector::BookVariable ( const TString &  name,
TString *  value 
)

Definition at line 180 of file EventVector.cxx.

◆ Combine()

void EventVector::Combine ( std::shared_ptr< Result >  result)
overridevirtual

Return the name of the output file.

virtual interface to combine two results.

Reimplemented from NAGASH::Result.

Definition at line 10 of file EventVector.cxx.

◆ Fill()

void EventVector::Fill ( )

Definition at line 524 of file EventVector.cxx.

◆ GetEvent()

void EventVector::GetEvent ( int  ie)

Definition at line 488 of file EventVector.cxx.

◆ SetVariableAddress() [1/12]

void EventVector::SetVariableAddress ( const TString &  name,
bool *  value 
)

Definition at line 353 of file EventVector.cxx.

◆ SetVariableAddress() [2/12]

void EventVector::SetVariableAddress ( const TString &  name,
double *  value 
)

Definition at line 338 of file EventVector.cxx.

◆ SetVariableAddress() [3/12]

void EventVector::SetVariableAddress ( const TString &  name,
int *  value 
)

Definition at line 308 of file EventVector.cxx.

◆ SetVariableAddress() [4/12]

void EventVector::SetVariableAddress ( const TString &  name,
long *  value 
)

Definition at line 323 of file EventVector.cxx.

◆ SetVariableAddress() [5/12]

void EventVector::SetVariableAddress ( const TString &  name,
std::vector< bool > *  value 
)

Definition at line 443 of file EventVector.cxx.

◆ SetVariableAddress() [6/12]

void EventVector::SetVariableAddress ( const TString &  name,
std::vector< double > *  value 
)

Definition at line 428 of file EventVector.cxx.

◆ SetVariableAddress() [7/12]

void EventVector::SetVariableAddress ( const TString &  name,
std::vector< int > *  value 
)

Definition at line 398 of file EventVector.cxx.

◆ SetVariableAddress() [8/12]

void EventVector::SetVariableAddress ( const TString &  name,
std::vector< long > *  value 
)

Definition at line 413 of file EventVector.cxx.

◆ SetVariableAddress() [9/12]

void EventVector::SetVariableAddress ( const TString &  name,
std::vector< TLorentzVector > *  value 
)

Definition at line 473 of file EventVector.cxx.

◆ SetVariableAddress() [10/12]

void EventVector::SetVariableAddress ( const TString &  name,
std::vector< TString > *  value 
)

Definition at line 458 of file EventVector.cxx.

◆ SetVariableAddress() [11/12]

void EventVector::SetVariableAddress ( const TString &  name,
TLorentzVector *  value 
)

Definition at line 383 of file EventVector.cxx.

◆ SetVariableAddress() [12/12]

void EventVector::SetVariableAddress ( const TString &  name,
TString *  value 
)

Definition at line 368 of file EventVector.cxx.

◆ Size()

int NAGASH::EventVector::Size ( )
inline

Definition at line 95 of file EventVector.h.

Member Data Documentation

◆ BookVarMapBool

std::map<bool *, std::vector<bool> *> NAGASH::EventVector::BookVarMapBool
private

Definition at line 69 of file EventVector.h.

◆ BookVarMapBoolVec

std::map<std::vector<bool> *, std::vector<std::vector<bool> > *> NAGASH::EventVector::BookVarMapBoolVec
private

Definition at line 75 of file EventVector.h.

◆ BookVarMapDouble

std::map<double *, std::vector<double> *> NAGASH::EventVector::BookVarMapDouble
private

Definition at line 68 of file EventVector.h.

◆ BookVarMapDoubleVec

std::map<std::vector<double> *, std::vector<std::vector<double> > *> NAGASH::EventVector::BookVarMapDoubleVec
private

Definition at line 74 of file EventVector.h.

◆ BookVarMapInt

std::map<int *, std::vector<int> *> NAGASH::EventVector::BookVarMapInt
private

Definition at line 66 of file EventVector.h.

◆ BookVarMapIntVec

std::map<std::vector<int> *, std::vector<std::vector<int> > *> NAGASH::EventVector::BookVarMapIntVec
private

Definition at line 72 of file EventVector.h.

◆ BookVarMapLong

std::map<long *, std::vector<long> *> NAGASH::EventVector::BookVarMapLong
private

Definition at line 67 of file EventVector.h.

◆ BookVarMapLongVec

std::map<std::vector<long> *, std::vector<std::vector<long> > *> NAGASH::EventVector::BookVarMapLongVec
private

Definition at line 73 of file EventVector.h.

◆ BookVarMapTLorentzVector

std::map<TLorentzVector *, std::vector<TLorentzVector> *> NAGASH::EventVector::BookVarMapTLorentzVector
private

Definition at line 71 of file EventVector.h.

◆ BookVarMapTLorentzVectorVec

std::map<std::vector<TLorentzVector> *, std::vector<std::vector<TLorentzVector> > *> NAGASH::EventVector::BookVarMapTLorentzVectorVec
private

Definition at line 77 of file EventVector.h.

◆ BookVarMapTString

std::map<TString *, std::vector<TString> *> NAGASH::EventVector::BookVarMapTString
private

Definition at line 70 of file EventVector.h.

◆ BookVarMapTStringVec

std::map<std::vector<TString> *, std::vector<std::vector<TString> > *> NAGASH::EventVector::BookVarMapTStringVec
private

Definition at line 76 of file EventVector.h.

◆ SetVarMapBool

std::map<bool *, std::vector<bool> *> NAGASH::EventVector::SetVarMapBool
private

Definition at line 82 of file EventVector.h.

◆ SetVarMapBoolVec

std::map<std::vector<bool> *, std::vector<std::vector<bool> > *> NAGASH::EventVector::SetVarMapBoolVec
private

Definition at line 88 of file EventVector.h.

◆ SetVarMapDouble

std::map<double *, std::vector<double> *> NAGASH::EventVector::SetVarMapDouble
private

Definition at line 81 of file EventVector.h.

◆ SetVarMapDoubleVec

std::map<std::vector<double> *, std::vector<std::vector<double> > *> NAGASH::EventVector::SetVarMapDoubleVec
private

Definition at line 87 of file EventVector.h.

◆ SetVarMapInt

std::map<int *, std::vector<int> *> NAGASH::EventVector::SetVarMapInt
private

Definition at line 79 of file EventVector.h.

◆ SetVarMapIntVec

std::map<std::vector<int> *, std::vector<std::vector<int> > *> NAGASH::EventVector::SetVarMapIntVec
private

Definition at line 85 of file EventVector.h.

◆ SetVarMapLong

std::map<long *, std::vector<long> *> NAGASH::EventVector::SetVarMapLong
private

Definition at line 80 of file EventVector.h.

◆ SetVarMapLongVec

std::map<std::vector<long> *, std::vector<std::vector<long> > *> NAGASH::EventVector::SetVarMapLongVec
private

Definition at line 86 of file EventVector.h.

◆ SetVarMapTLorentzVector

std::map<TLorentzVector *, std::vector<TLorentzVector> *> NAGASH::EventVector::SetVarMapTLorentzVector
private

Definition at line 84 of file EventVector.h.

◆ SetVarMapTLorentzVectorVec

std::map<std::vector<TLorentzVector> *, std::vector<std::vector<TLorentzVector> > *> NAGASH::EventVector::SetVarMapTLorentzVectorVec
private

Definition at line 90 of file EventVector.h.

◆ SetVarMapTString

std::map<TString *, std::vector<TString> *> NAGASH::EventVector::SetVarMapTString
private

Definition at line 83 of file EventVector.h.

◆ SetVarMapTStringVec

std::map<std::vector<TString> *, std::vector<std::vector<TString> > *> NAGASH::EventVector::SetVarMapTStringVec
private

Definition at line 89 of file EventVector.h.

◆ size

int NAGASH::EventVector::size = 0
private

Definition at line 92 of file EventVector.h.

◆ ValueMapBool

std::map<TString, std::vector<bool> > NAGASH::EventVector::ValueMapBool
private

Definition at line 56 of file EventVector.h.

◆ ValueMapBoolVec

std::map<TString, std::vector<std::vector<bool> > > NAGASH::EventVector::ValueMapBoolVec
private

Definition at line 62 of file EventVector.h.

◆ ValueMapDouble

std::map<TString, std::vector<double> > NAGASH::EventVector::ValueMapDouble
private

Definition at line 55 of file EventVector.h.

◆ ValueMapDoubleVec

std::map<TString, std::vector<std::vector<double> > > NAGASH::EventVector::ValueMapDoubleVec
private

Definition at line 61 of file EventVector.h.

◆ ValueMapInt

std::map<TString, std::vector<int> > NAGASH::EventVector::ValueMapInt
private

Definition at line 53 of file EventVector.h.

◆ ValueMapIntVec

std::map<TString, std::vector<std::vector<int> > > NAGASH::EventVector::ValueMapIntVec
private

Definition at line 59 of file EventVector.h.

◆ ValueMapLong

std::map<TString, std::vector<long> > NAGASH::EventVector::ValueMapLong
private

Definition at line 54 of file EventVector.h.

◆ ValueMapLongVec

std::map<TString, std::vector<std::vector<long> > > NAGASH::EventVector::ValueMapLongVec
private

Definition at line 60 of file EventVector.h.

◆ ValueMapTLorentzVector

std::map<TString, std::vector<TLorentzVector> > NAGASH::EventVector::ValueMapTLorentzVector
private

Definition at line 58 of file EventVector.h.

◆ ValueMapTLorentzVectorVec

std::map<TString, std::vector<std::vector<TLorentzVector> > > NAGASH::EventVector::ValueMapTLorentzVectorVec
private

Definition at line 64 of file EventVector.h.

◆ ValueMapTString

std::map<TString, std::vector<TString> > NAGASH::EventVector::ValueMapTString
private

Definition at line 57 of file EventVector.h.

◆ ValueMapTStringVec

std::map<TString, std::vector<std::vector<TString> > > NAGASH::EventVector::ValueMapTStringVec
private

Definition at line 63 of file EventVector.h.


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