FEDRA emulsion software from the OPERA Collaboration
|
#include <EdbCouplesTree.h>
Public Member Functions | |
void | ApplyCorrections () |
void | Close () |
EdbCouplesTree () | |
Int_t | Fill () |
Int_t | Fill (EdbSegP *s1, EdbSegP *s2, EdbSegP *s=0, EdbSegCouple *cp=0, float xv=0, float yv=0, int pid1=0, int pid2=0) |
int | GetCPData (EdbPattern *pat, EdbPattern *p1=0, EdbPattern *p2=0, TIndex2 *trseg=0) |
int | GetCPData (TObjArray &cparr) |
int | GetCPDataAcceptedMask (EdbPattern *pat) |
int | GetEntry (int i) |
const char * | GetFileName () const |
bool | InitCouplesTree (const char *name="couples", const char *fname=0, Option_t *mode="READ") |
TEventList * | InitCutList () |
void | Print () |
int | PutCPData (TObjArray &cparr) |
void | RankCouples (TObjArray &cparr) |
bool | WriteTree () |
virtual | ~EdbCouplesTree () |
Public Attributes | |
EdbMask * | eAcceptMask |
id's (entries) of segments to be accepted when read couples tree More... | |
bool | eApplyCorrections |
if true - apply corrections stored in ePlate when do GetEntry More... | |
EdbSegCouple * | eCP |
couples object More... | |
TCut | eCut |
cut to be applied on read More... | |
EdbMask * | eEraseMask |
id's (entries) of segments to be erased when read couples tree More... | |
Int_t | ePid1 |
Int_t | ePid2 |
EdbPlateP | ePlate |
EdbSegP * | eS |
segments to be written More... | |
EdbSegP * | eS1 |
branches: More... | |
EdbSegP * | eS2 |
TTree * | eTree |
couples tree More... | |
Float_t | eXv |
Float_t | eYv |
relative center More... | |
EdbCouplesTree::EdbCouplesTree | ( | ) |
|
virtual |
most of the members pointers can be the property of other objects If the file should be closed - use Close()
void EdbCouplesTree::ApplyCorrections | ( | ) |
void EdbCouplesTree::Close | ( | ) |
Int_t EdbCouplesTree::Fill | ( | ) |
Int_t EdbCouplesTree::Fill | ( | EdbSegP * | s1, |
EdbSegP * | s2, | ||
EdbSegP * | s = 0 , |
||
EdbSegCouple * | cp = 0 , |
||
float | xv = 0 , |
||
float | yv = 0 , |
||
int | pid1 = 0 , |
||
int | pid2 = 0 |
||
) |
int EdbCouplesTree::GetCPData | ( | EdbPattern * | pat, |
EdbPattern * | p1 = 0 , |
||
EdbPattern * | p2 = 0 , |
||
TIndex2 * | trseg = 0 |
||
) |
TO CHECK !!!
int EdbCouplesTree::GetCPData | ( | TObjArray & | cparr | ) |
read segments into array of EdbSegCouple objects
int EdbCouplesTree::GetCPDataAcceptedMask | ( | EdbPattern * | pat | ) |
TO CHECK !!!
int EdbCouplesTree::GetEntry | ( | int | i | ) |
|
inline |
bool EdbCouplesTree::InitCouplesTree | ( | const char * | name = "couples" , |
const char * | fname = 0 , |
||
Option_t * | mode = "READ" |
||
) |
TEventList * EdbCouplesTree::InitCutList | ( | ) |
void EdbCouplesTree::Print | ( | ) |
int EdbCouplesTree::PutCPData | ( | TObjArray & | cparr | ) |
void EdbCouplesTree::RankCouples | ( | TObjArray & | cparr | ) |
rank couples if in cparr the same segment's pointer appare in several combinations
bool EdbCouplesTree::WriteTree | ( | ) |
EdbMask* EdbCouplesTree::eAcceptMask |
id's (entries) of segments to be accepted when read couples tree
Correction parameters
bool EdbCouplesTree::eApplyCorrections |
if true - apply corrections stored in ePlate when do GetEntry
EdbSegCouple* EdbCouplesTree::eCP |
couples object
TCut EdbCouplesTree::eCut |
cut to be applied on read
EdbMask* EdbCouplesTree::eEraseMask |
id's (entries) of segments to be erased when read couples tree
Int_t EdbCouplesTree::ePid1 |
Int_t EdbCouplesTree::ePid2 |
EdbPlateP EdbCouplesTree::ePlate |
EdbSegP * EdbCouplesTree::eS |
segments to be written
EdbSegP* EdbCouplesTree::eS1 |
branches:
EdbSegP * EdbCouplesTree::eS2 |
TTree* EdbCouplesTree::eTree |
couples tree
Float_t EdbCouplesTree::eXv |
Float_t EdbCouplesTree::eYv |
relative center