Neutral Particle Spectrometer analysis code
Loading...
Searching...
No Matches
THcNPSCluster Class Reference

Definition at line 12 of file THcNPSCluster.h.

Public Member Functions

void AddBlock (Int_t blockID)
 
virtual void Clear (Option_t *opt="")
 
Double_t E () const
 
std::vector< Int_tGetBlocks ()
 
Double_t GetP () const
 
Double_t GetPhi ()
 
TVector3GetPvect ()
 
Int_t GetSize () const
 
Double_t GetTheta ()
 
Double_t GetTime () const
 
TVector3GetVertex ()
 
bool HasVertex () const
 
virtual void Print (Option_t *opt="") const
 
virtual void RotateToLab (Double_t angle, TVector3 &vertex, TVector3 &pvect)
 
void SetEnergy (Double_t energy)
 
void SetMomentum (Double_t p)
 
void SetPvect (const TVector3 &pvect)
 
void SetSize (Int_t nhits)
 
void SetTime (Double_t time)
 
void SetVertex (const TVector3 &vertex)
 
void SetVertex (Double_t vx, Double_t vy, Double_t vz)
 
void SetVertexFlag (bool vertex_flag)
 
Double_t T () const
 
 THcNPSCluster ()
 
 THcNPSCluster (Double_t x, Double_t y, Double_t z, Double_t t, Double_t e)
 
virtual ~THcNPSCluster ()=default
 
- Public Member Functions inherited from THaCluster
TVector3GetCenter ()
 
virtual void SetCenter (const TVector3 &vec3)
 
virtual void SetCenter (Double_t x, Double_t y, Double_t z)
 
 THaCluster ()
 
Double_t X () const
 
Double_t Y () const
 
Double_t Z () const
 
virtual ~THaCluster ()=default
 
- Public Member Functions inherited from TObject
void AbstractMethod (const char *method) const
 
virtual void AppendPad (Option_t *option="")
 
virtual void Browse (TBrowser *b)
 
ULong_t CheckedHash ()
 
virtual const char * ClassName () const
 
virtual TObjectClone (const char *newname="") const
 
virtual Int_t Compare (const TObject *obj) const
 
virtual void Copy (TObject &object) const
 
virtual void Delete (Option_t *option="")
 
virtual Int_t DistancetoPrimitive (Int_t px, Int_t py)
 
virtual void Draw (Option_t *option="")
 
virtual void DrawClass () const
 
virtual TObjectDrawClone (Option_t *option="") const
 
virtual void Dump () const
 
virtual void Error (const char *method, const char *msgfmt,...) const
 
virtual void Execute (const char *method, const char *params, Int_t *error=nullptr)
 
virtual void Execute (TMethod *method, TObjArray *params, Int_t *error=nullptr)
 
virtual void ExecuteEvent (Int_t event, Int_t px, Int_t py)
 
virtual void Fatal (const char *method, const char *msgfmt,...) const
 
virtual TObjectFindObject (const char *name) const
 
virtual TObjectFindObject (const TObject *obj) const
 
virtual Option_tGetDrawOption () const
 
virtual const char * GetIconName () const
 
virtual const char * GetName () const
 
virtual char * GetObjectInfo (Int_t px, Int_t py) const
 
virtual Option_tGetOption () const
 
virtual const char * GetTitle () const
 
virtual UInt_t GetUniqueID () const
 
virtual Bool_t HandleTimer (TTimer *timer)
 
virtual ULong_t Hash () const
 
Bool_t HasInconsistentHash () const
 
virtual void Info (const char *method, const char *msgfmt,...) const
 
virtual Bool_t InheritsFrom (const char *classname) const
 
virtual Bool_t InheritsFrom (const TClass *cl) const
 
virtual void Inspect () const
 
void InvertBit (UInt_t f)
 
virtual TClassIsA () const
 
Bool_t IsDestructed () const
 
virtual Bool_t IsEqual (const TObject *obj) const
 
virtual Bool_t IsFolder () const
 
R__ALWAYS_INLINE Bool_t IsOnHeap () const
 
virtual Bool_t IsSortable () const
 
R__ALWAYS_INLINE Bool_t IsZombie () const
 
virtual void ls (Option_t *option="") const
 
void MayNotUse (const char *method) const
 
virtual Bool_t Notify ()
 
void Obsolete (const char *method, const char *asOfVers, const char *removedFromVers) const
 
void operator delete (void *ptr)
 
void operator delete[] (void *ptr)
 
voidoperator new (size_t sz)
 
voidoperator new (size_t sz, void *vp)
 
voidoperator new[] (size_t sz)
 
voidoperator new[] (size_t sz, void *vp)
 
TObjectoperator= (const TObject &rhs)
 
virtual void Paint (Option_t *option="")
 
virtual void Pop ()
 
virtual Int_t Read (const char *name)
 
virtual void RecursiveRemove (TObject *obj)
 
void ResetBit (UInt_t f)
 
virtual void SaveAs (const char *filename="", Option_t *option="") const
 
virtual void SavePrimitive (std::ostream &out, Option_t *option="")
 
void SetBit (UInt_t f)
 
void SetBit (UInt_t f, Bool_t set)
 
virtual void SetDrawOption (Option_t *option="")
 
virtual void SetUniqueID (UInt_t uid)
 
virtual void Streamer (TBuffer &)
 
void StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b)
 
virtual void SysError (const char *method, const char *msgfmt,...) const
 
R__ALWAYS_INLINE Bool_t TestBit (UInt_t f) const
 
Int_t TestBits (UInt_t f) const
 
 TObject ()
 
 TObject (const TObject &object)
 
virtual void UseCurrentStyle ()
 
virtual void Warning (const char *method, const char *msgfmt,...) const
 
virtual Int_t Write (const char *name=nullptr, Int_t option=0, Int_t bufsize=0)
 
virtual Int_t Write (const char *name=nullptr, Int_t option=0, Int_t bufsize=0) const
 
virtual ~TObject ()
 

Protected Attributes

std::vector< Int_tfBlocks
 
TVector3 fCenterLab
 
Double_t fE
 
bool fHasVertex
 
Double_t fP
 
TVector3 fPvect
 
Int_t fSize
 
Double_t fT
 
TVector3 fVertex
 
- Protected Attributes inherited from THaCluster
TVector3 fCenter
 
- Protected Attributes inherited from TObject
 kOnlyPrepStep
 

Additional Inherited Members

- Public Types inherited from TObject
enum  EDeprecatedStatusBits
 
enum  EStatusBits
 
- Static Public Member Functions inherited from TObject
static TClassClass ()
 
static const char * Class_Name ()
 
static constexpr Version_t Class_Version ()
 
static const char * DeclFileName ()
 
static Longptr_t GetDtorOnly ()
 
static Bool_t GetObjectStat ()
 
static void SetDtorOnly (void *obj)
 
static void SetObjectStat (Bool_t stat)
 
- Public Attributes inherited from TObject
 kBitMask
 
 kCanDelete
 
 kCannotPick
 
 kHasUUID
 
 kInconsistent
 
 kInvalidObject
 
 kIsOnHeap
 
 kIsReferenced
 
 kMustCleanup
 
 kNoContextMenu
 
 kNotDeleted
 
 kObjInCanvas
 
 kOverwrite
 
 kSingleKey
 
 kWriteDelete
 
 kZombie
 
- Protected Member Functions inherited from TObject
virtual void DoError (int level, const char *location, const char *fmt, va_list va) const
 
void MakeZombie ()
 

#include <THcNPSCluster.h>

Inheritance diagram for THcNPSCluster:

Constructor & Destructor Documentation

◆ THcNPSCluster() [1/2]

THcNPSCluster::THcNPSCluster ( )

Definition at line 5 of file THcNPSCluster.cxx.

◆ THcNPSCluster() [2/2]

THcNPSCluster::THcNPSCluster ( Double_t  x,
Double_t  y,
Double_t  z,
Double_t  t,
Double_t  e 
)

Definition at line 22 of file THcNPSCluster.cxx.

◆ ~THcNPSCluster()

virtual THcNPSCluster::~THcNPSCluster ( )
virtualdefault

Member Function Documentation

◆ AddBlock()

void THcNPSCluster::AddBlock ( Int_t  blockID)
inline

Definition at line 24 of file THcNPSCluster.h.

◆ Clear()

void THcNPSCluster::Clear ( Option_t opt = "")
virtual

Reimplemented from THaCluster.

Definition at line 36 of file THcNPSCluster.cxx.

◆ E()

Double_t THcNPSCluster::E ( ) const
inline

Definition at line 29 of file THcNPSCluster.h.

◆ GetBlocks()

std::vector< Int_t > THcNPSCluster::GetBlocks ( )
inline

Definition at line 25 of file THcNPSCluster.h.

◆ GetP()

Double_t THcNPSCluster::GetP ( ) const
inline

Definition at line 36 of file THcNPSCluster.h.

◆ GetPhi()

Double_t THcNPSCluster::GetPhi ( )
inline

Definition at line 35 of file THcNPSCluster.h.

◆ GetPvect()

TVector3 & THcNPSCluster::GetPvect ( )
inline

Definition at line 32 of file THcNPSCluster.h.

◆ GetSize()

Int_t THcNPSCluster::GetSize ( ) const
inline

Definition at line 37 of file THcNPSCluster.h.

◆ GetTheta()

Double_t THcNPSCluster::GetTheta ( )
inline

Definition at line 34 of file THcNPSCluster.h.

◆ GetTime()

Double_t THcNPSCluster::GetTime ( ) const
inline

Definition at line 31 of file THcNPSCluster.h.

◆ GetVertex()

TVector3 & THcNPSCluster::GetVertex ( )
inline

Definition at line 33 of file THcNPSCluster.h.

◆ HasVertex()

bool THcNPSCluster::HasVertex ( ) const
inline

Definition at line 28 of file THcNPSCluster.h.

◆ Print()

void THcNPSCluster::Print ( Option_t opt = "") const
virtual

Reimplemented from THaCluster.

Definition at line 74 of file THcNPSCluster.cxx.

◆ RotateToLab()

void THcNPSCluster::RotateToLab ( Double_t  angle,
TVector3 vertex,
TVector3 pvect 
)
virtual

Definition at line 50 of file THcNPSCluster.cxx.

◆ SetEnergy()

void THcNPSCluster::SetEnergy ( Double_t  energy)
inline

Definition at line 40 of file THcNPSCluster.h.

◆ SetMomentum()

void THcNPSCluster::SetMomentum ( Double_t  p)
inline

Definition at line 42 of file THcNPSCluster.h.

◆ SetPvect()

void THcNPSCluster::SetPvect ( const TVector3 pvect)
inline

Definition at line 43 of file THcNPSCluster.h.

◆ SetSize()

void THcNPSCluster::SetSize ( Int_t  nhits)
inline

Definition at line 38 of file THcNPSCluster.h.

◆ SetTime()

void THcNPSCluster::SetTime ( Double_t  time)
inline

Definition at line 41 of file THcNPSCluster.h.

◆ SetVertex() [1/2]

void THcNPSCluster::SetVertex ( const TVector3 vertex)
inline

Definition at line 44 of file THcNPSCluster.h.

◆ SetVertex() [2/2]

void THcNPSCluster::SetVertex ( Double_t  vx,
Double_t  vy,
Double_t  vz 
)
inline

Definition at line 46 of file THcNPSCluster.h.

◆ SetVertexFlag()

void THcNPSCluster::SetVertexFlag ( bool  vertex_flag)
inline

Definition at line 39 of file THcNPSCluster.h.

◆ T()

Double_t THcNPSCluster::T ( ) const
inline

Definition at line 30 of file THcNPSCluster.h.

Member Data Documentation

◆ fBlocks

std::vector<Int_t> THcNPSCluster::fBlocks
protected

Definition at line 60 of file THcNPSCluster.h.

◆ fCenterLab

TVector3 THcNPSCluster::fCenterLab
protected

Definition at line 57 of file THcNPSCluster.h.

◆ fE

Double_t THcNPSCluster::fE
protected

Definition at line 51 of file THcNPSCluster.h.

◆ fHasVertex

bool THcNPSCluster::fHasVertex
protected

Definition at line 54 of file THcNPSCluster.h.

◆ fP

Double_t THcNPSCluster::fP
protected

Definition at line 53 of file THcNPSCluster.h.

◆ fPvect

TVector3 THcNPSCluster::fPvect
protected

Definition at line 56 of file THcNPSCluster.h.

◆ fSize

Int_t THcNPSCluster::fSize
protected

Definition at line 58 of file THcNPSCluster.h.

◆ fT

Double_t THcNPSCluster::fT
protected

Definition at line 52 of file THcNPSCluster.h.

◆ fVertex

TVector3 THcNPSCluster::fVertex
protected

Definition at line 55 of file THcNPSCluster.h.

Collaboration diagram for THcNPSCluster:

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