CbmRoot
PairAnalysisTrackRotator Class Reference

#include <PairAnalysisTrackRotator.h>

Inheritance diagram for PairAnalysisTrackRotator:
[legend]
Collaboration diagram for PairAnalysisTrackRotator:
[legend]

Public Types

enum  ERotationType { kRotatePositive, kRotateNegative, kRotateBothRandom }
 

Public Member Functions

 PairAnalysisTrackRotator ()
 
 PairAnalysisTrackRotator (const char *name, const char *title)
 
virtual ~PairAnalysisTrackRotator ()
 
void SetIterations (UInt_t niter)
 
void SetRotationType (ERotationType type)
 
void SetStartAnglePhi (Double_t phi)
 
void SetConeAnglePhi (Double_t phi)
 
Int_t GetIterations () const
 
ERotationType GetRotationType () const
 
Double_t GetStartAnglePhi () const
 
Double_t GetConeAnglePhi () const
 
Double_t GetAngle () const
 
Double_t GetCharge () const
 

Private Member Functions

 PairAnalysisTrackRotator (const PairAnalysisTrackRotator &c)
 
PairAnalysisTrackRotatoroperator= (const PairAnalysisTrackRotator &c)
 

Private Attributes

UInt_t fIterations = 1
 
ERotationType fRotationType = kRotateBothRandom
 
Double_t fStartAnglePhi = TMath::Pi()
 
Double_t fConeAnglePhi
 

Detailed Description

Definition at line 17 of file PairAnalysisTrackRotator.h.

Member Enumeration Documentation

◆ ERotationType

Enumerator
kRotatePositive 
kRotateNegative 
kRotateBothRandom 

Definition at line 19 of file PairAnalysisTrackRotator.h.

Constructor & Destructor Documentation

◆ PairAnalysisTrackRotator() [1/3]

PairAnalysisTrackRotator::PairAnalysisTrackRotator ( )

◆ PairAnalysisTrackRotator() [2/3]

PairAnalysisTrackRotator::PairAnalysisTrackRotator ( const char *  name,
const char *  title 
)

Definition at line 33 of file PairAnalysisTrackRotator.cxx.

◆ ~PairAnalysisTrackRotator()

PairAnalysisTrackRotator::~PairAnalysisTrackRotator ( )
virtual

Definition at line 43 of file PairAnalysisTrackRotator.cxx.

◆ PairAnalysisTrackRotator() [3/3]

PairAnalysisTrackRotator::PairAnalysisTrackRotator ( const PairAnalysisTrackRotator c)
private

Member Function Documentation

◆ GetAngle()

Double_t PairAnalysisTrackRotator::GetAngle ( ) const
inline

Definition at line 38 of file PairAnalysisTrackRotator.h.

References fConeAnglePhi, and fStartAnglePhi.

Referenced by PairAnalysisPairLV::RotateTrack().

◆ GetCharge()

Double_t PairAnalysisTrackRotator::GetCharge ( ) const
inline

Definition at line 41 of file PairAnalysisTrackRotator.h.

Referenced by PairAnalysisPairLV::RotateTrack().

◆ GetConeAnglePhi()

Double_t PairAnalysisTrackRotator::GetConeAnglePhi ( ) const
inline

Definition at line 36 of file PairAnalysisTrackRotator.h.

References fConeAnglePhi.

◆ GetIterations()

Int_t PairAnalysisTrackRotator::GetIterations ( ) const
inline

Definition at line 33 of file PairAnalysisTrackRotator.h.

References fIterations.

Referenced by PairAnalysis::FillPairArrayTR().

◆ GetRotationType()

ERotationType PairAnalysisTrackRotator::GetRotationType ( ) const
inline

Definition at line 34 of file PairAnalysisTrackRotator.h.

References fRotationType.

Referenced by PairAnalysisPairLV::RotateTrack().

◆ GetStartAnglePhi()

Double_t PairAnalysisTrackRotator::GetStartAnglePhi ( ) const
inline

Definition at line 35 of file PairAnalysisTrackRotator.h.

References fStartAnglePhi.

◆ operator=()

PairAnalysisTrackRotator& PairAnalysisTrackRotator::operator= ( const PairAnalysisTrackRotator c)
private

◆ SetConeAnglePhi()

void PairAnalysisTrackRotator::SetConeAnglePhi ( Double_t  phi)
inline

Definition at line 30 of file PairAnalysisTrackRotator.h.

References fConeAnglePhi.

◆ SetIterations()

void PairAnalysisTrackRotator::SetIterations ( UInt_t  niter)
inline

Definition at line 27 of file PairAnalysisTrackRotator.h.

References fIterations.

◆ SetRotationType()

void PairAnalysisTrackRotator::SetRotationType ( ERotationType  type)
inline

Definition at line 28 of file PairAnalysisTrackRotator.h.

References fRotationType.

◆ SetStartAnglePhi()

void PairAnalysisTrackRotator::SetStartAnglePhi ( Double_t  phi)
inline

Definition at line 29 of file PairAnalysisTrackRotator.h.

References fStartAnglePhi.

Member Data Documentation

◆ fConeAnglePhi

Double_t PairAnalysisTrackRotator::fConeAnglePhi
private
Initial value:

Definition at line 47 of file PairAnalysisTrackRotator.h.

Referenced by GetAngle(), GetConeAnglePhi(), and SetConeAnglePhi().

◆ fIterations

UInt_t PairAnalysisTrackRotator::fIterations = 1
private

Definition at line 44 of file PairAnalysisTrackRotator.h.

Referenced by GetIterations(), and SetIterations().

◆ fRotationType

ERotationType PairAnalysisTrackRotator::fRotationType = kRotateBothRandom
private

Definition at line 45 of file PairAnalysisTrackRotator.h.

Referenced by GetRotationType(), and SetRotationType().

◆ fStartAnglePhi

Double_t PairAnalysisTrackRotator::fStartAnglePhi = TMath::Pi()
private

Definition at line 46 of file PairAnalysisTrackRotator.h.

Referenced by GetAngle(), GetStartAnglePhi(), and SetStartAnglePhi().


The documentation for this class was generated from the following files:
xMath::Pi
double Pi()
Definition: xMath.h:5