#include <fstream>#include <string>#include <map>#include <cmath>#include "Rtypes.h"#include "Plex/PlexSEIdAltL.h"#include "Plex/PlexStripEndId.h"#include "CandDigit/CandDigitHandle.h"#include "RawData/RawChannelId.h"#include "REROOT_Classes/REROOT_FLSDigit.h"Go to the source code of this file.
Namespaces | |
| namespace | CalHelpers |
| namespace | CalDetConstants |
Classes | |
| class | CalHelpers::MCDigit |
| class | CalHelpers::MCDigitMap |
Functions | |
| Int_t | GetPlane (const CandDigitHandle &) |
| Int_t | GetBestStrip (const CandDigitHandle &) |
| Int_t | GetBestEnd (const CandDigitHandle &) |
| float | ComputeSine (float p1, float s1, float p2, float s2, float scale_p=5.8, float scale_s=4.1) |
| NavKey | KeyFromPlane (const CandDigitHandle *cdh) |
| NavKey | KeyFromStrip (const CandDigitHandle *cdh) |
| NavKey | KeyFromEnd (const CandDigitHandle *cdh) |
| NavKey | KeyFromTime (const CandDigitHandle *cdh) |
| NavKey | KeyFromCrate (const CandDigitHandle *cdh) |
| NavKey | KeyFromVarc (const CandDigitHandle *cdh) |
| NavKey | KeyFromDigitTime (const CandDigitHandle *cdh) |
Variables | |
| const UShort_t | PLANECONST = 60 |
| const UShort_t | STRIPCONST = 24 |
| const Float_t | PLANEWIDTH = 5.90 |
| const Float_t | STRIPWIDTH = 4.10 |
| const UShort_t | KOVCONST = 3 |
| const UShort_t | TOFCONST = 3 |
| const Float_t | FARTIMECONVERT = 1.5625 |
| const RawChannelId | kCerenkovChannel1 (Detector::kCalDet, ElecType::kVA, 0, 1, 5, 1, 2, 16) |
| const RawChannelId | kCerenkovChannel2 (Detector::kCalDet, ElecType::kVA, 0, 2, 5, 1, 2, 16) |
| const RawChannelId | kCerenkovChannel3 (Detector::kCalDet, ElecType::kVA, 0, 1, 5, 1, 1, 16) |
| const RawChannelId | kTriggerPMTChannel (Detector::kCalDet, ElecType::kVA, 0, 2, 5, 0, 1, 4) |
| const RawChannelId | kTofADCChannel0 (Detector::kCalDet, ElecType::kVA, 0, 2, 5, 1, 0, 16) |
| const RawChannelId | kTofADCChannel1 (Detector::kCalDet, ElecType::kVA, 0, 2, 5, 1, 1, 16) |
| const RawChannelId | kTofADCChannel2 (Detector::kCalDet, ElecType::kVA, 0, 2, 5, 1, 2, 16) |
| const RawChannelId | kTofTimeStampChannel (Detector::kCalDet, ElecType::kVA, 0, 2, 6, 0, 0, 2) |
|
||||||||||||||||||||||||||||
|
Definition at line 129 of file Helpers.h. References s(). 00131 {
00132 float s= (s2-s1)*scale_s;
00133 float p= (p2-p1)*scale_p;
00134 return s/sqrt(s*s + p*p);
00135 }
|
|
|
Definition at line 124 of file Helpers.h. References PlexSEIdAltL::GetBestSEId(), PlexStripEndId::GetEnd(), and CandDigitHandle::GetPlexSEIdAltL(). Referenced by CalHelpers::KeyFromEnd(). 00125 {
00126 return cdh.GetPlexSEIdAltL().GetBestSEId().GetEnd();
00127 }
|
|
|
Definition at line 119 of file Helpers.h. References PlexSEIdAltL::GetBestSEId(), CandDigitHandle::GetPlexSEIdAltL(), and PlexStripEndId::GetStrip(). Referenced by CalHelpers::KeyFromStrip(). 00120 {
00121 return cdh.GetPlexSEIdAltL().GetBestSEId().GetStrip();
00122 }
|
|
|
Definition at line 114 of file Helpers.h. References PlexSEIdAltL::GetPlane(), and CandDigitHandle::GetPlexSEIdAltL(). Referenced by Managed::HitManager::ClearXTalk(), Anp::PlotPmt::Collect(), UberModuleLite::FillNtpTrackTime(), UberModule::FillNtpTrackTime(), NtpSRModule::FillNtpTrackTime(), Anp::DrawSpan::FindSpan(), AlgAtmosShowerList::FormDummyTracks(), Anp::FillShortVar::Get(), Anp::FillShortEvent::GetPlaneStrips(), NtpSRBleachFiller::GetstraightPHFraction(), Anp::FillShortVar::GetTrackMap(), CalHelpers::KeyFromPlane(), Reco::ByPlane::operator()(), Anp::FillSnarl::Run(), and Anp::FillMuonId::Select(). 00115 {
00116 return cdh.GetPlexSEIdAltL().GetPlane();
00117 }
|
|
|
Definition at line 39 of file Helpers.cxx. References CandDigitHandle::GetChannelId(), and RawChannelId::GetCrate(). 00040 {
00041 return cdh->GetChannelId().GetCrate();
00042 }
|
|
|
Definition at line 33 of file Helpers.cxx. References CandDigitHandle::GetTime(). 00034 {
00035 return cdh->GetTime();
00036 }
|
|
|
Definition at line 23 of file Helpers.cxx. References CalHelpers::GetBestEnd(). 00024 {
00025 return GetBestEnd(*cdh);
00026 }
|
|
|
Definition at line 13 of file Helpers.cxx. References CalHelpers::GetPlane(). 00014 {
00015 return GetPlane(*cdh);
00016 }
|
|
|
Definition at line 18 of file Helpers.cxx. References CalHelpers::GetBestStrip(). 00019 {
00020 return GetBestStrip(*cdh);
00021 }
|
|
|
Definition at line 28 of file Helpers.cxx. References PlexSEIdAltL::GetBestItem(), CandDigitHandle::GetPlexSEIdAltL(), and PlexSEIdAltLItem::GetTime(). 00029 {
00030 return cdh->GetPlexSEIdAltL().GetBestItem().GetTime();
00031 }
|
|
|
Definition at line 44 of file Helpers.cxx. References CandDigitHandle::GetChannelId(), and RawChannelId::GetVarcId(). 00045 {
00046 return cdh->GetChannelId().GetVarcId();
00047 }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1.3.9.1