#include <iostream>#include "CandNtupleSR/NtpSREvent.h"#include "CandNtupleSR/NtpSRTrack.h"#include "CandNtupleSR/NtpSRShower.h"#include "StandardNtuple/NtpStRecord.h"#include "Conventions/Detector.h"#include "Conventions/SimFlag.h"#include "DataUtil/infid.h"Go to the source code of this file.
Functions | |
| bool | infid (const NtpStRecord &ntp, const NtpSREvent &evt) |
| bool | infid (const NtpStRecord &ntp, const NtpSRTrack &trk) |
| bool | infid (const NtpStRecord &ntp, const NtpSRShower &shw) |
|
||||||||||||
|
||||||||||||
|
Definition at line 58 of file infid_sr_interface.h. References VldContext::GetDetector(), RecRecordImp< T >::GetHeader(), VldContext::GetSimFlag(), FidVol::getTrkVtxZOffset(), RecHeader::GetVldContext(), infid(), NtpSRTrack::vtx, NtpSRVertex::x, NtpSRVertex::y, and NtpSRVertex::z. 00059 {
00060 //get the header
00061 const RecCandHeader& rec=ntp.GetHeader();
00062
00063 //call the fiducial volume function with appropriate offset
00064 return infid(rec.GetVldContext().GetDetector(),
00065 rec.GetVldContext().GetSimFlag(),
00066 trk.vtx.x,
00067 trk.vtx.y,
00068 trk.vtx.z-FidVol::getTrkVtxZOffset());
00069 }
|
|
||||||||||||
|
Definition at line 43 of file infid_sr_interface.h. References VldContext::GetDetector(), FidVol::getEvtVtxZOffset(), RecRecordImp< T >::GetHeader(), VldContext::GetSimFlag(), RecHeader::GetVldContext(), infid(), NtpSREvent::vtx, NtpSRVertex::x, NtpSRVertex::y, and NtpSRVertex::z. 00044 {
00045 //get the header
00046 const RecCandHeader& rec=ntp.GetHeader();
00047
00048 //call the fiducial volume function with appropriate offset
00049 return infid(rec.GetVldContext().GetDetector(),
00050 rec.GetVldContext().GetSimFlag(),
00051 evt.vtx.x,
00052 evt.vtx.y,
00053 evt.vtx.z-FidVol::getEvtVtxZOffset());
00054 }
|
1.3.9.1