RooParticle
Particle scattering simulator with ROOT
Loading...
Searching...
No Matches
Classes | Public Types | Public Member Functions | Static Public Member Functions | Static Public Attributes | Private Member Functions | Private Attributes | List of all members
asymptoteN Class Reference

#include <asymptoteN.hpp>

Classes

struct  pstate
 

Public Types

enum  method { kBorn = 0 , kPairwise , kAuto , kBrute }
 
enum  direction { kOutgoing = 0 , kIncoming }
 
enum  flagBit {
  kApproaching = 1<<0 , kStrong = 1<<1 , kInCluster = 1<<2 , kNotIsolated = 1<<3 ,
  kBoundToFixed = 1<<4 , kRelativistic = 1<<5 , kNoPairwise = 1<<6 , kMarginal = 1<<7 ,
  kSingular = 1<<8 , kNotConverged = 1<<9 , kInvalid = 1<<10
}
 

Public Member Functions

 asymptoteN ()
 
 asymptoteN (event *ev, method m=kPairwise, direction d=kOutgoing)
 
Bool_t Compute (event *ev, method m=kPairwise, direction d=kOutgoing)
 
void SetAutoTolerance (Double_t tol)
 
void SetBruteTolerance (Double_t tol)
 
void SetIntegrationTolerance (Double_t rel, Double_t abs)
 
void SetMaxBlocks (Int_t n)
 
void SetQuadratureOrder (Int_t n)
 
void SetIsolation (Double_t eps)
 
void SetCrossFactor (Double_t c)
 
void SetAnalytic (Bool_t on=kTRUE)
 
void SetErrorEstimate (Bool_t on=kTRUE)
 
Int_t GetNParticle () const
 
TVector3 GetV (Int_t i) const
 
TVector3 GetVBody (Int_t i) const
 
TVector3 GetVInf (Int_t i) const
 
Double_t GetError (Int_t i) const
 
TVector3 GetResidual (Int_t i) const
 
Double_t GetDeflection (Int_t i) const
 
Double_t GetAngularError (Int_t i) const
 
UInt_t GetFlags (Int_t i) const
 
Int_t GetCluster (Int_t i) const
 
Bool_t IsFixed (Int_t i) const
 
method GetMethod () const
 
direction GetDirection () const
 
UInt_t GetFlags () const
 
TString GetFlagNames (UInt_t f) const
 
Bool_t IsValid () const
 
Bool_t IsReliable () const
 
Bool_t IsSeparating () const
 
Double_t GetMaxDeflection () const
 
Double_t GetMaxError () const
 
Double_t GetVelocityScale () const
 
Double_t GetMaxRelError () const
 
Double_t GetMaxEta () const
 
Double_t GetEnergyNow () const
 
Double_t GetEnergyInf () const
 
TVector3 GetMomentumInf () const
 
Int_t GetNClusters () const
 
std::vector< Int_t > GetClusterMembers (Int_t c) const
 
Double_t GetClusterEnergy (Int_t c) const
 
Double_t GetClusterIsolation (Int_t c) const
 
TVector3 GetClusterVInf (Int_t c) const
 
Double_t GetRunTime () const
 
Double_t GetIntegratedTime () const
 
Int_t GetNBlocks () const
 
Long_t GetNSubsteps () const
 
Long_t GetNForceSweeps () const
 
TString Print (Bool_t mute=kFALSE) const
 

Static Public Member Functions

static Double_t RemainingDeflection (event *ev, Bool_t *separating=nullptr)
 
static Double_t RemainingChange (event *ev, Bool_t *separating=nullptr)
 

Static Public Attributes

static const UInt_t kUnreliable = kStrong | kNotIsolated | kMarginal | kSingular | kNotConverged | kInvalid
 

Private Member Functions

void Reset (Int_t n)
 
void Analyze (event *ev, const std::vector< pstate > &ps, method m, Bool_t clusterOnly=kFALSE)
 
void RunIntegrating (event *ev, method m)
 
void Finish (event *ev)
 

Private Attributes

Double_t autoTol = 1e-9
 
Double_t bruteTol = 1e-11
 
Double_t rkRel = 1e-13
 
Double_t rkAbs = 1e-15
 
Int_t maxBlocks = 60
 
Int_t nquad = 12
 
Double_t isoThr = 1e-2
 
Double_t crossC = 2.
 
Bool_t analytic = kTRUE
 
Bool_t estimate = kTRUE
 
method meth = kPairwise
 
direction dir = kOutgoing
 
std::vector< TVector3 > vNow
 
std::vector< TVector3 > vBody
 
std::vector< TVector3 > vInf
 
std::vector< Double_t > err
 
std::vector< Double_t > mass
 
std::vector< UInt_t > flags
 
std::vector< Int_t > cluster
 
std::vector< Bool_t > fixed
 
std::vector< std::vector< Int_t > > clMembers
 
std::vector< Double_t > clEnergy
 
std::vector< Double_t > clIso
 
std::vector< TVector3 > clVInf
 
UInt_t allFlags = kInvalid
 
Bool_t separating = kFALSE
 
Double_t maxDefl = 0.
 
Double_t maxErr = 0.
 
Double_t vScale = 0.
 
Double_t maxEta = 0.
 
Double_t etaApp = 0.
 
Double_t eNow = 0.
 
Double_t eInf = 0.
 
Double_t runTime = 0.
 
Double_t tInt = 0.
 
Int_t nBlocks = 0
 
Long_t nSub = 0
 

Detailed Description

Definition at line 182 of file asymptoteN.hpp.

Member Enumeration Documentation

◆ direction

Enumerator
kOutgoing 
kIncoming 

Definition at line 185 of file asymptoteN.hpp.

◆ flagBit

Enumerator
kApproaching 
kStrong 
kInCluster 
kNotIsolated 
kBoundToFixed 
kRelativistic 
kNoPairwise 
kMarginal 
kSingular 
kNotConverged 
kInvalid 

Definition at line 186 of file asymptoteN.hpp.

◆ method

Enumerator
kBorn 
kPairwise 
kAuto 
kBrute 

Definition at line 184 of file asymptoteN.hpp.

Constructor & Destructor Documentation

◆ asymptoteN() [1/2]

asymptoteN::asymptoteN ( )
inline

Definition at line 201 of file asymptoteN.hpp.

◆ asymptoteN() [2/2]

asymptoteN::asymptoteN ( event *  ev,
method  m = kPairwise,
direction  d = kOutgoing 
)
inline

Definition at line 202 of file asymptoteN.hpp.

Member Function Documentation

◆ Analyze()

void asymptoteN::Analyze ( event *  ev,
const std::vector< pstate > &  ps,
method  m,
Bool_t  clusterOnly = kFALSE 
)
private

Definition at line 563 of file asymptoteN.cpp.

◆ Compute()

Bool_t asymptoteN::Compute ( event *  ev,
method  m = kPairwise,
direction  d = kOutgoing 
)

Definition at line 1006 of file asymptoteN.cpp.

◆ Finish()

void asymptoteN::Finish ( event *  ev)
private

Definition at line 984 of file asymptoteN.cpp.

◆ GetAngularError()

Double_t asymptoteN::GetAngularError ( Int_t  i) const

Definition at line 1042 of file asymptoteN.cpp.

◆ GetCluster()

Int_t asymptoteN::GetCluster ( Int_t  i) const
inline

Definition at line 229 of file asymptoteN.hpp.

◆ GetClusterEnergy()

Double_t asymptoteN::GetClusterEnergy ( Int_t  c) const
inline

Definition at line 256 of file asymptoteN.hpp.

◆ GetClusterIsolation()

Double_t asymptoteN::GetClusterIsolation ( Int_t  c) const
inline

Definition at line 257 of file asymptoteN.hpp.

◆ GetClusterMembers()

std::vector< Int_t > asymptoteN::GetClusterMembers ( Int_t  c) const
inline

Definition at line 255 of file asymptoteN.hpp.

◆ GetClusterVInf()

TVector3 asymptoteN::GetClusterVInf ( Int_t  c) const
inline

Definition at line 258 of file asymptoteN.hpp.

◆ GetDeflection()

Double_t asymptoteN::GetDeflection ( Int_t  i) const

Definition at line 1035 of file asymptoteN.cpp.

◆ GetDirection()

direction asymptoteN::GetDirection ( ) const
inline

Definition at line 234 of file asymptoteN.hpp.

◆ GetEnergyInf()

Double_t asymptoteN::GetEnergyInf ( ) const
inline

Definition at line 250 of file asymptoteN.hpp.

◆ GetEnergyNow()

Double_t asymptoteN::GetEnergyNow ( ) const
inline

Definition at line 249 of file asymptoteN.hpp.

◆ GetError()

Double_t asymptoteN::GetError ( Int_t  i) const
inline

Definition at line 224 of file asymptoteN.hpp.

◆ GetFlagNames()

TString asymptoteN::GetFlagNames ( UInt_t  f) const

Definition at line 1053 of file asymptoteN.cpp.

◆ GetFlags() [1/2]

UInt_t asymptoteN::GetFlags ( ) const
inline

Definition at line 235 of file asymptoteN.hpp.

◆ GetFlags() [2/2]

UInt_t asymptoteN::GetFlags ( Int_t  i) const
inline

Definition at line 228 of file asymptoteN.hpp.

◆ GetIntegratedTime()

Double_t asymptoteN::GetIntegratedTime ( ) const
inline

Definition at line 262 of file asymptoteN.hpp.

◆ GetMaxDeflection()

Double_t asymptoteN::GetMaxDeflection ( ) const
inline

Definition at line 240 of file asymptoteN.hpp.

◆ GetMaxError()

Double_t asymptoteN::GetMaxError ( ) const
inline

Definition at line 241 of file asymptoteN.hpp.

◆ GetMaxEta()

Double_t asymptoteN::GetMaxEta ( ) const
inline

Definition at line 244 of file asymptoteN.hpp.

◆ GetMaxRelError()

Double_t asymptoteN::GetMaxRelError ( ) const
inline

Definition at line 243 of file asymptoteN.hpp.

◆ GetMethod()

method asymptoteN::GetMethod ( ) const
inline

Definition at line 233 of file asymptoteN.hpp.

◆ GetMomentumInf()

TVector3 asymptoteN::GetMomentumInf ( ) const

Definition at line 1047 of file asymptoteN.cpp.

◆ GetNBlocks()

Int_t asymptoteN::GetNBlocks ( ) const
inline

Definition at line 263 of file asymptoteN.hpp.

◆ GetNClusters()

Int_t asymptoteN::GetNClusters ( ) const
inline

Definition at line 254 of file asymptoteN.hpp.

◆ GetNForceSweeps()

Long_t asymptoteN::GetNForceSweeps ( ) const
inline

Definition at line 265 of file asymptoteN.hpp.

◆ GetNParticle()

Int_t asymptoteN::GetNParticle ( ) const
inline

Definition at line 220 of file asymptoteN.hpp.

◆ GetNSubsteps()

Long_t asymptoteN::GetNSubsteps ( ) const
inline

Definition at line 264 of file asymptoteN.hpp.

◆ GetResidual()

TVector3 asymptoteN::GetResidual ( Int_t  i) const
inline

Definition at line 225 of file asymptoteN.hpp.

◆ GetRunTime()

Double_t asymptoteN::GetRunTime ( ) const
inline

Definition at line 261 of file asymptoteN.hpp.

◆ GetV()

TVector3 asymptoteN::GetV ( Int_t  i) const
inline

Definition at line 221 of file asymptoteN.hpp.

◆ GetVBody()

TVector3 asymptoteN::GetVBody ( Int_t  i) const
inline

Definition at line 222 of file asymptoteN.hpp.

◆ GetVelocityScale()

Double_t asymptoteN::GetVelocityScale ( ) const
inline

Definition at line 242 of file asymptoteN.hpp.

◆ GetVInf()

TVector3 asymptoteN::GetVInf ( Int_t  i) const
inline

Definition at line 223 of file asymptoteN.hpp.

◆ IsFixed()

Bool_t asymptoteN::IsFixed ( Int_t  i) const
inline

Definition at line 230 of file asymptoteN.hpp.

◆ IsReliable()

Bool_t asymptoteN::IsReliable ( ) const
inline

Definition at line 238 of file asymptoteN.hpp.

◆ IsSeparating()

Bool_t asymptoteN::IsSeparating ( ) const
inline

Definition at line 239 of file asymptoteN.hpp.

◆ IsValid()

Bool_t asymptoteN::IsValid ( ) const
inline

Definition at line 237 of file asymptoteN.hpp.

◆ Print()

TString asymptoteN::Print ( Bool_t  mute = kFALSE) const

Definition at line 1067 of file asymptoteN.cpp.

◆ RemainingChange()

Double_t asymptoteN::RemainingChange ( event *  ev,
Bool_t *  separating = nullptr 
)
static

Definition at line 1093 of file asymptoteN.cpp.

◆ RemainingDeflection()

Double_t asymptoteN::RemainingDeflection ( event *  ev,
Bool_t *  separating = nullptr 
)
static

Definition at line 1085 of file asymptoteN.cpp.

◆ Reset()

void asymptoteN::Reset ( Int_t  n)
private

Definition at line 541 of file asymptoteN.cpp.

◆ RunIntegrating()

void asymptoteN::RunIntegrating ( event *  ev,
method  m 
)
private

Definition at line 876 of file asymptoteN.cpp.

◆ SetAnalytic()

void asymptoteN::SetAnalytic ( Bool_t  on = kTRUE)
inline

Definition at line 216 of file asymptoteN.hpp.

◆ SetAutoTolerance()

void asymptoteN::SetAutoTolerance ( Double_t  tol)
inline

Definition at line 209 of file asymptoteN.hpp.

◆ SetBruteTolerance()

void asymptoteN::SetBruteTolerance ( Double_t  tol)
inline

Definition at line 210 of file asymptoteN.hpp.

◆ SetCrossFactor()

void asymptoteN::SetCrossFactor ( Double_t  c)
inline

Definition at line 215 of file asymptoteN.hpp.

◆ SetErrorEstimate()

void asymptoteN::SetErrorEstimate ( Bool_t  on = kTRUE)
inline

Definition at line 217 of file asymptoteN.hpp.

◆ SetIntegrationTolerance()

void asymptoteN::SetIntegrationTolerance ( Double_t  rel,
Double_t  abs 
)
inline

Definition at line 211 of file asymptoteN.hpp.

◆ SetIsolation()

void asymptoteN::SetIsolation ( Double_t  eps)
inline

Definition at line 214 of file asymptoteN.hpp.

◆ SetMaxBlocks()

void asymptoteN::SetMaxBlocks ( Int_t  n)
inline

Definition at line 212 of file asymptoteN.hpp.

◆ SetQuadratureOrder()

void asymptoteN::SetQuadratureOrder ( Int_t  n)
inline

Definition at line 213 of file asymptoteN.hpp.

Member Data Documentation

◆ allFlags

UInt_t asymptoteN::allFlags = kInvalid
private

Definition at line 308 of file asymptoteN.hpp.

◆ analytic

Bool_t asymptoteN::analytic = kTRUE
private

Definition at line 294 of file asymptoteN.hpp.

◆ autoTol

Double_t asymptoteN::autoTol = 1e-9
private

Definition at line 286 of file asymptoteN.hpp.

◆ bruteTol

Double_t asymptoteN::bruteTol = 1e-11
private

Definition at line 287 of file asymptoteN.hpp.

◆ clEnergy

std::vector<Double_t> asymptoteN::clEnergy
private

Definition at line 306 of file asymptoteN.hpp.

◆ clIso

std::vector<Double_t> asymptoteN::clIso
private

Definition at line 306 of file asymptoteN.hpp.

◆ clMembers

std::vector<std::vector<Int_t> > asymptoteN::clMembers
private

Definition at line 305 of file asymptoteN.hpp.

◆ cluster

std::vector<Int_t> asymptoteN::cluster
private

Definition at line 303 of file asymptoteN.hpp.

◆ clVInf

std::vector<TVector3> asymptoteN::clVInf
private

Definition at line 307 of file asymptoteN.hpp.

◆ crossC

Double_t asymptoteN::crossC = 2.
private

Definition at line 293 of file asymptoteN.hpp.

◆ dir

direction asymptoteN::dir = kOutgoing
private

Definition at line 299 of file asymptoteN.hpp.

◆ eInf

Double_t asymptoteN::eInf = 0.
private

Definition at line 311 of file asymptoteN.hpp.

◆ eNow

Double_t asymptoteN::eNow = 0.
private

Definition at line 311 of file asymptoteN.hpp.

◆ err

std::vector<Double_t> asymptoteN::err
private

Definition at line 301 of file asymptoteN.hpp.

◆ estimate

Bool_t asymptoteN::estimate = kTRUE
private

Definition at line 295 of file asymptoteN.hpp.

◆ etaApp

Double_t asymptoteN::etaApp = 0.
private

Definition at line 310 of file asymptoteN.hpp.

◆ fixed

std::vector<Bool_t> asymptoteN::fixed
private

Definition at line 304 of file asymptoteN.hpp.

◆ flags

std::vector<UInt_t> asymptoteN::flags
private

Definition at line 302 of file asymptoteN.hpp.

◆ isoThr

Double_t asymptoteN::isoThr = 1e-2
private

Definition at line 292 of file asymptoteN.hpp.

◆ kUnreliable

const UInt_t asymptoteN::kUnreliable = kStrong | kNotIsolated | kMarginal | kSingular | kNotConverged | kInvalid
static

Definition at line 199 of file asymptoteN.hpp.

◆ mass

std::vector<Double_t> asymptoteN::mass
private

Definition at line 301 of file asymptoteN.hpp.

◆ maxBlocks

Int_t asymptoteN::maxBlocks = 60
private

Definition at line 290 of file asymptoteN.hpp.

◆ maxDefl

Double_t asymptoteN::maxDefl = 0.
private

Definition at line 310 of file asymptoteN.hpp.

◆ maxErr

Double_t asymptoteN::maxErr = 0.
private

Definition at line 310 of file asymptoteN.hpp.

◆ maxEta

Double_t asymptoteN::maxEta = 0.
private

Definition at line 310 of file asymptoteN.hpp.

◆ meth

method asymptoteN::meth = kPairwise
private

Definition at line 298 of file asymptoteN.hpp.

◆ nBlocks

Int_t asymptoteN::nBlocks = 0
private

Definition at line 313 of file asymptoteN.hpp.

◆ nquad

Int_t asymptoteN::nquad = 12
private

Definition at line 291 of file asymptoteN.hpp.

◆ nSub

Long_t asymptoteN::nSub = 0
private

Definition at line 314 of file asymptoteN.hpp.

◆ rkAbs

Double_t asymptoteN::rkAbs = 1e-15
private

Definition at line 289 of file asymptoteN.hpp.

◆ rkRel

Double_t asymptoteN::rkRel = 1e-13
private

Definition at line 288 of file asymptoteN.hpp.

◆ runTime

Double_t asymptoteN::runTime = 0.
private

Definition at line 312 of file asymptoteN.hpp.

◆ separating

Bool_t asymptoteN::separating = kFALSE
private

Definition at line 309 of file asymptoteN.hpp.

◆ tInt

Double_t asymptoteN::tInt = 0.
private

Definition at line 312 of file asymptoteN.hpp.

◆ vBody

std::vector<TVector3> asymptoteN::vBody
private

Definition at line 300 of file asymptoteN.hpp.

◆ vInf

std::vector<TVector3> asymptoteN::vInf
private

Definition at line 300 of file asymptoteN.hpp.

◆ vNow

std::vector<TVector3> asymptoteN::vNow
private

Definition at line 300 of file asymptoteN.hpp.

◆ vScale

Double_t asymptoteN::vScale = 0.
private

Definition at line 310 of file asymptoteN.hpp.


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