#include <map>#include "PhysicsNtuple/Handle.h"#include "PhysicsNtuple/Record.h"Go to the source code of this file.
Namespaces | |
| namespace | Anp |
| namespace | Anp::Pmt |
Classes | |
| struct | Anp::PlaneHitColl |
| class | Anp::PmtHit |
Functions | |
| const VldContext | GetValidity (const Header &header) |
| bool | IsSamePmt (const VldContext &vldc, const Strip &lhs, const Strip &rhs) |
| bool | operator< (const PlaneHitColl &lhs, const PlaneHitColl &rhs) |
| bool | operator== (const PlaneHitColl &lhs, const PlaneHitColl &rhs) |
| bool | operator< (const short lhs, const PlaneHitColl &rhs) |
| bool | operator< (const PlaneHitColl &lhs, const short rhs) |
| bool | operator== (const short lhs, const PlaneHitColl &rhs) |
| bool | operator== (const PlaneHitColl &lhs, const short rhs) |
|
|
Definition at line 387 of file PmtHit.cxx. References Anp::Header::IsData(), Anp::Header::IsFar(), Anp::Header::IsNear(), Anp::Header::NSec(), and Anp::Header::Sec(). Referenced by Anp::PlotPmt::Collect(). 00388 {
00389 //
00390 // Convert Anp::Header to VldContext
00391 //
00392
00393 const VldTimeStamp time(header.Sec(), header.NSec());
00394 if(header.IsData())
00395 {
00396 if (header.IsNear()) return VldContext(Detector::kNear, SimFlag::kData, time);
00397 else if(header.IsFar()) return VldContext(Detector::kFar, SimFlag::kData, time);
00398 }
00399 else
00400 {
00401 if (header.IsNear()) return VldContext(Detector::kNear, SimFlag::kMC, time);
00402 else if(header.IsFar()) return VldContext(Detector::kFar, SimFlag::kMC, time);
00403 }
00404
00405 return VldContext(Detector::kUnknown, SimFlag::kUnknown, time);
00406 }
|
|
||||||||||||||||
|
Definition at line 410 of file PmtHit.cxx. References Anp::Strip::GetEncoded(), PlexHandle::GetPixelSpotId(), and PlexPixelSpotId::IsSameTube(). Referenced by Anp::PlotPmt::Collect(). 00411 {
00412 PlexHandle plex(vldc);
00413
00414 const PlexStripEndId seidL(stripL.GetEncoded());
00415 const PlexStripEndId seidR(stripR.GetEncoded());
00416
00417 const PlexPixelSpotId psidL = plex.GetPixelSpotId(seidL);
00418 const PlexPixelSpotId psidR = plex.GetPixelSpotId(seidR);
00419
00420 //return (psidL.GetTube() == psidR.GetTube());
00421 //return (psidL.GetUniquePmtEncodedValue() == psidR.GetUniquePmtEncodedValue());
00422 return psidL.IsSameTube(psidR);
00423 }
|
|
||||||||||||
|
Definition at line 152 of file PmtHit.h. References Anp::PlaneHitColl::GetPlane(). 00153 {
00154 return lhs.GetPlane() < rhs;
00155 }
|
|
||||||||||||
|
Definition at line 148 of file PmtHit.h. References Anp::PlaneHitColl::GetPlane(). 00149 {
00150 return lhs < rhs.GetPlane();
00151 }
|
|
||||||||||||
|
Definition at line 139 of file PmtHit.h. References Anp::PlaneHitColl::GetPlane(). 00140 {
00141 return lhs.GetPlane() < rhs.GetPlane();
00142 }
|
|
||||||||||||
|
Definition at line 161 of file PmtHit.h. References Anp::PlaneHitColl::GetPlane(). 00162 {
00163 return lhs.GetPlane() == rhs;
00164 }
|
|
||||||||||||
|
Definition at line 157 of file PmtHit.h. References Anp::PlaneHitColl::GetPlane(). 00158 {
00159 return lhs == rhs.GetPlane();
00160 }
|
|
||||||||||||
|
Definition at line 143 of file PmtHit.h. References Anp::PlaneHitColl::GetPlane(). 00144 {
00145 return lhs.GetPlane() == rhs.GetPlane();
00146 }
|
1.3.9.1