Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Shifter Class Reference

#include <coresoftware/blob/master/calibrations/tpc/fillSpaceChargeMaps/Shifter.h>

+ Collaboration diagram for Shifter:

Public Member Functions

 Shifter (TString sourcefilename)
 
 Shifter (TString sourcefilename)
 
 Shifter (TString sourcefilename)
 
 Shifter (const std::string &truthfilename, const std::string &correctionfilename="")
 
TVector3 Shift (const TVector3 &position)
 
TVector3 ShiftForward (const TVector3 &position)
 
TVector3 ShiftBack (const TVector3 &position)
 

Public Attributes

TFile * forward = nullptr
 
TFile * average = nullptr
 
TH3F * hX
 
TH3F * hY
 
TH3F * hZ
 
TH3F * hR
 
TH3F * hPhi
 
TH3F * hXave
 
TH3F * hYave
 
TH3F * hZave
 
TH3F * hRave
 
TH3F * hPhiave
 
TFile * back = nullptr
 
bool hasTruth = false
 
bool hasCorrection = false
 
TH3 * hX = nullptr
 
TH3 * hY = nullptr
 
TH3 * hZ = nullptr
 
TH3 * hR = nullptr
 
TH3 * hPhi = nullptr
 
TH3 * hXave = nullptr
 
TH3 * hYave = nullptr
 
TH3 * hZave = nullptr
 
TH3 * hRave = nullptr
 
TH3 * hPhiave = nullptr
 
TH3 * hXBack = nullptr
 
TH3 * hYBack = nullptr
 
TH3 * hZBack = nullptr
 

Detailed Description

Definition at line 11 of file CMDistortionAnalysis.C.

View newest version in sPHENIX GitHub at line 11 of file CMDistortionAnalysis.C

Constructor & Destructor Documentation

Shifter::Shifter ( TString  sourcefilename)

Definition at line 18 of file CMDistortionAnalysis.C.

View newest version in sPHENIX GitHub at line 18 of file CMDistortionAnalysis.C

Shifter::Shifter ( TString  sourcefilename)
Shifter::Shifter ( TString  sourcefilename)
Shifter::Shifter ( const std::string &  truthfilename,
const std::string &  correctionfilename = "" 
)
explicit

Definition at line 11 of file Shifter.cc.

View newest version in sPHENIX GitHub at line 11 of file Shifter.cc

References average, G4TPC::correction_filename, forward, hasCorrection, hasTruth, hPhi, hPhiave, hR, hRave, hX, hXave, hY, hYave, hZ, and hZave.

Member Function Documentation

TVector3 Shifter::Shift ( const TVector3 &  position)

Definition at line 134 of file Shifter.cc.

View newest version in sPHENIX GitHub at line 134 of file Shifter.cc

References ShiftBack(), and ShiftForward().

+ Here is the call graph for this function:

TVector3 Shifter::ShiftBack ( const TVector3 &  position)

Definition at line 107 of file Shifter.cc.

View newest version in sPHENIX GitHub at line 107 of file Shifter.cc

References hXBack, hYBack, hZBack, ambiguity_solver_full_chain::x, y, and physmon_track_finding_ttbar::z.

Referenced by Shift().

+ Here is the caller graph for this function:

TVector3 Shifter::ShiftForward ( const TVector3 &  position)

Definition at line 60 of file Shifter.cc.

View newest version in sPHENIX GitHub at line 60 of file Shifter.cc

References hasCorrection, hasTruth, hPhiave, hRave, hX, hY, hZ, hZave, ActsTests::PropagationDatasets::phi, physmon_track_finding_ttbar::r, ambiguity_solver_full_chain::x, y, and physmon_track_finding_ttbar::z.

Referenced by fillSpaceChargeMaps::process_event(), and Shift().

+ Here is the caller graph for this function:

Member Data Documentation

TFile * Shifter::average = nullptr

Definition at line 14 of file CMDistortionAnalysis.C.

View newest version in sPHENIX GitHub at line 14 of file CMDistortionAnalysis.C

Referenced by Shifter().

TFile* Shifter::back = nullptr

Definition at line 20 of file Shifter.h.

View newest version in sPHENIX GitHub at line 20 of file Shifter.h

TFile * Shifter::forward = nullptr

Definition at line 14 of file CMDistortionAnalysis.C.

View newest version in sPHENIX GitHub at line 14 of file CMDistortionAnalysis.C

Referenced by Shifter().

bool Shifter::hasCorrection = false

Definition at line 23 of file Shifter.h.

View newest version in sPHENIX GitHub at line 23 of file Shifter.h

Referenced by Shifter(), and ShiftForward().

bool Shifter::hasTruth = false

Definition at line 22 of file Shifter.h.

View newest version in sPHENIX GitHub at line 22 of file Shifter.h

Referenced by Shifter(), and ShiftForward().

TH3F * Shifter::hPhi

Definition at line 15 of file CMDistortionAnalysis.C.

View newest version in sPHENIX GitHub at line 15 of file CMDistortionAnalysis.C

Referenced by CMDistortionAnalysis(), CMDistortionAnalysisCart(), CMDistortionAnalysisPhiR(), and Shifter().

TH3* Shifter::hPhi = nullptr

Definition at line 28 of file Shifter.h.

View newest version in sPHENIX GitHub at line 28 of file Shifter.h

TH3F * Shifter::hPhiave

Definition at line 15 of file CMDistortionAnalysis.C.

View newest version in sPHENIX GitHub at line 15 of file CMDistortionAnalysis.C

Referenced by Shifter(), and ShiftForward().

TH3* Shifter::hPhiave = nullptr

Definition at line 33 of file Shifter.h.

View newest version in sPHENIX GitHub at line 33 of file Shifter.h

TH3F * Shifter::hR

Definition at line 15 of file CMDistortionAnalysis.C.

View newest version in sPHENIX GitHub at line 15 of file CMDistortionAnalysis.C

Referenced by CMDistortionAnalysis(), CMDistortionAnalysisCart(), CMDistortionAnalysisPhiR(), and Shifter().

TH3* Shifter::hR = nullptr

Definition at line 27 of file Shifter.h.

View newest version in sPHENIX GitHub at line 27 of file Shifter.h

TH3F * Shifter::hRave

Definition at line 15 of file CMDistortionAnalysis.C.

View newest version in sPHENIX GitHub at line 15 of file CMDistortionAnalysis.C

Referenced by Shifter(), and ShiftForward().

TH3* Shifter::hRave = nullptr

Definition at line 32 of file Shifter.h.

View newest version in sPHENIX GitHub at line 32 of file Shifter.h

TH3F * Shifter::hX

Definition at line 15 of file CMDistortionAnalysis.C.

View newest version in sPHENIX GitHub at line 15 of file CMDistortionAnalysis.C

Referenced by CMDistortionAnalysis(), CMDistortionAnalysisCart(), CMDistortionAnalysisPhiR(), Shifter(), and ShiftForward().

TH3* Shifter::hX = nullptr

Definition at line 24 of file Shifter.h.

View newest version in sPHENIX GitHub at line 24 of file Shifter.h

TH3F * Shifter::hXave

Definition at line 15 of file CMDistortionAnalysis.C.

View newest version in sPHENIX GitHub at line 15 of file CMDistortionAnalysis.C

Referenced by Shifter().

TH3* Shifter::hXave = nullptr

Definition at line 29 of file Shifter.h.

View newest version in sPHENIX GitHub at line 29 of file Shifter.h

TH3* Shifter::hXBack = nullptr

Definition at line 34 of file Shifter.h.

View newest version in sPHENIX GitHub at line 34 of file Shifter.h

Referenced by ShiftBack().

TH3F * Shifter::hY

Definition at line 15 of file CMDistortionAnalysis.C.

View newest version in sPHENIX GitHub at line 15 of file CMDistortionAnalysis.C

Referenced by CMDistortionAnalysis(), CMDistortionAnalysisCart(), CMDistortionAnalysisPhiR(), Shifter(), and ShiftForward().

TH3* Shifter::hY = nullptr

Definition at line 25 of file Shifter.h.

View newest version in sPHENIX GitHub at line 25 of file Shifter.h

TH3F * Shifter::hYave

Definition at line 15 of file CMDistortionAnalysis.C.

View newest version in sPHENIX GitHub at line 15 of file CMDistortionAnalysis.C

Referenced by Shifter().

TH3* Shifter::hYave = nullptr

Definition at line 30 of file Shifter.h.

View newest version in sPHENIX GitHub at line 30 of file Shifter.h

TH3* Shifter::hYBack = nullptr

Definition at line 35 of file Shifter.h.

View newest version in sPHENIX GitHub at line 35 of file Shifter.h

Referenced by ShiftBack().

TH3F * Shifter::hZ

Definition at line 15 of file CMDistortionAnalysis.C.

View newest version in sPHENIX GitHub at line 15 of file CMDistortionAnalysis.C

Referenced by CMDistortionAnalysis(), CMDistortionAnalysisCart(), CMDistortionAnalysisPhiR(), Shifter(), and ShiftForward().

TH3* Shifter::hZ = nullptr

Definition at line 26 of file Shifter.h.

View newest version in sPHENIX GitHub at line 26 of file Shifter.h

TH3F * Shifter::hZave

Definition at line 15 of file CMDistortionAnalysis.C.

View newest version in sPHENIX GitHub at line 15 of file CMDistortionAnalysis.C

Referenced by Shifter(), and ShiftForward().

TH3* Shifter::hZave = nullptr

Definition at line 31 of file Shifter.h.

View newest version in sPHENIX GitHub at line 31 of file Shifter.h

TH3* Shifter::hZBack = nullptr

Definition at line 36 of file Shifter.h.

View newest version in sPHENIX GitHub at line 36 of file Shifter.h

Referenced by ShiftBack().


The documentation for this class was generated from the following files: