NAGASH 0.9.8
Next Generation Analysis System
|
Deprecated. It's better to use user defined event vector. More...
#include "NAGASH/EventVector.h"
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. | |
Deprecated. It's better to use user defined event vector.
Definition at line 16 of file EventVector.h.
|
inline |
Definition at line 19 of file EventVector.h.
void EventVector::BookVariable | ( | const TString & | name, |
bool * | value | ||
) |
Definition at line 164 of file EventVector.cxx.
void EventVector::BookVariable | ( | const TString & | name, |
double * | value | ||
) |
Definition at line 148 of file EventVector.cxx.
void EventVector::BookVariable | ( | const TString & | name, |
int * | value | ||
) |
Definition at line 116 of file EventVector.cxx.
void EventVector::BookVariable | ( | const TString & | name, |
long * | value | ||
) |
Definition at line 132 of file EventVector.cxx.
void EventVector::BookVariable | ( | const TString & | name, |
std::vector< bool > * | value | ||
) |
Definition at line 260 of file EventVector.cxx.
void EventVector::BookVariable | ( | const TString & | name, |
std::vector< double > * | value | ||
) |
Definition at line 244 of file EventVector.cxx.
void EventVector::BookVariable | ( | const TString & | name, |
std::vector< int > * | value | ||
) |
Definition at line 212 of file EventVector.cxx.
void EventVector::BookVariable | ( | const TString & | name, |
std::vector< long > * | value | ||
) |
Definition at line 228 of file EventVector.cxx.
void EventVector::BookVariable | ( | const TString & | name, |
std::vector< TLorentzVector > * | value | ||
) |
Definition at line 292 of file EventVector.cxx.
void EventVector::BookVariable | ( | const TString & | name, |
std::vector< TString > * | value | ||
) |
Definition at line 276 of file EventVector.cxx.
void EventVector::BookVariable | ( | const TString & | name, |
TLorentzVector * | value | ||
) |
Definition at line 196 of file EventVector.cxx.
void EventVector::BookVariable | ( | const TString & | name, |
TString * | value | ||
) |
Definition at line 180 of file EventVector.cxx.
|
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.
void EventVector::Fill | ( | ) |
Definition at line 524 of file EventVector.cxx.
void EventVector::GetEvent | ( | int | ie | ) |
Definition at line 488 of file EventVector.cxx.
void EventVector::SetVariableAddress | ( | const TString & | name, |
bool * | value | ||
) |
Definition at line 353 of file EventVector.cxx.
void EventVector::SetVariableAddress | ( | const TString & | name, |
double * | value | ||
) |
Definition at line 338 of file EventVector.cxx.
void EventVector::SetVariableAddress | ( | const TString & | name, |
int * | value | ||
) |
Definition at line 308 of file EventVector.cxx.
void EventVector::SetVariableAddress | ( | const TString & | name, |
long * | value | ||
) |
Definition at line 323 of file EventVector.cxx.
void EventVector::SetVariableAddress | ( | const TString & | name, |
std::vector< bool > * | value | ||
) |
Definition at line 443 of file EventVector.cxx.
void EventVector::SetVariableAddress | ( | const TString & | name, |
std::vector< double > * | value | ||
) |
Definition at line 428 of file EventVector.cxx.
void EventVector::SetVariableAddress | ( | const TString & | name, |
std::vector< int > * | value | ||
) |
Definition at line 398 of file EventVector.cxx.
void EventVector::SetVariableAddress | ( | const TString & | name, |
std::vector< long > * | value | ||
) |
Definition at line 413 of file EventVector.cxx.
void EventVector::SetVariableAddress | ( | const TString & | name, |
std::vector< TLorentzVector > * | value | ||
) |
Definition at line 473 of file EventVector.cxx.
void EventVector::SetVariableAddress | ( | const TString & | name, |
std::vector< TString > * | value | ||
) |
Definition at line 458 of file EventVector.cxx.
void EventVector::SetVariableAddress | ( | const TString & | name, |
TLorentzVector * | value | ||
) |
Definition at line 383 of file EventVector.cxx.
void EventVector::SetVariableAddress | ( | const TString & | name, |
TString * | value | ||
) |
Definition at line 368 of file EventVector.cxx.
|
inline |
Definition at line 95 of file EventVector.h.
|
private |
Definition at line 69 of file EventVector.h.
|
private |
Definition at line 75 of file EventVector.h.
|
private |
Definition at line 68 of file EventVector.h.
|
private |
Definition at line 74 of file EventVector.h.
|
private |
Definition at line 66 of file EventVector.h.
|
private |
Definition at line 72 of file EventVector.h.
|
private |
Definition at line 67 of file EventVector.h.
|
private |
Definition at line 73 of file EventVector.h.
|
private |
Definition at line 71 of file EventVector.h.
|
private |
Definition at line 77 of file EventVector.h.
|
private |
Definition at line 70 of file EventVector.h.
|
private |
Definition at line 76 of file EventVector.h.
|
private |
Definition at line 82 of file EventVector.h.
|
private |
Definition at line 88 of file EventVector.h.
|
private |
Definition at line 81 of file EventVector.h.
|
private |
Definition at line 87 of file EventVector.h.
|
private |
Definition at line 79 of file EventVector.h.
|
private |
Definition at line 85 of file EventVector.h.
|
private |
Definition at line 80 of file EventVector.h.
|
private |
Definition at line 86 of file EventVector.h.
|
private |
Definition at line 84 of file EventVector.h.
|
private |
Definition at line 90 of file EventVector.h.
|
private |
Definition at line 83 of file EventVector.h.
|
private |
Definition at line 89 of file EventVector.h.
|
private |
Definition at line 92 of file EventVector.h.
|
private |
Definition at line 56 of file EventVector.h.
|
private |
Definition at line 62 of file EventVector.h.
|
private |
Definition at line 55 of file EventVector.h.
|
private |
Definition at line 61 of file EventVector.h.
|
private |
Definition at line 53 of file EventVector.h.
|
private |
Definition at line 59 of file EventVector.h.
|
private |
Definition at line 54 of file EventVector.h.
|
private |
Definition at line 60 of file EventVector.h.
|
private |
Definition at line 58 of file EventVector.h.
|
private |
Definition at line 64 of file EventVector.h.
|
private |
Definition at line 57 of file EventVector.h.
|
private |
Definition at line 63 of file EventVector.h.