FairRoot
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
FairDoubleHit Class Referenceabstract

#include <FairDoubleHit.h>

Inheritance diagram for FairDoubleHit:
FairMultiLinkedData

Public Member Functions

 FairDoubleHit ()
 
virtual ~FairDoubleHit ()
 
virtual void Print (const Option_t *opt=0) const =0
 
virtual void SetDetectorID (Int_t chamb)=0
 
virtual void SetPos_in (TVector3 xyz)=0
 
virtual void SetDPos_in (TVector3 xyz)=0
 
virtual void SetPos_out (TVector3 xyz)=0
 
virtual void SetDPos_out (TVector3 xyz)=0
 
virtual void SetRefIndex (Int_t index)=0
 
virtual Int_t GetDetectorID ()=0
 
virtual Int_t GetRefIndex ()=0
 
virtual TVector3 GetPos_in ()=0
 
virtual TVector3 GetDPos_in ()=0
 
virtual TVector3 GetPos_out ()=0
 
virtual TVector3 GetDPos_out ()=0
 
virtual Double_t x_in ()=0
 
virtual Double_t y_in ()=0
 
virtual Double_t z_in ()=0
 
virtual Double_t dx_in ()=0
 
virtual Double_t dy_in ()=0
 
virtual Double_t dz_in ()=0
 
virtual Double_t x_out ()=0
 
virtual Double_t y_out ()=0
 
virtual Double_t z_out ()=0
 
virtual Double_t dx_out ()=0
 
virtual Double_t dy_out ()=0
 
virtual Double_t dz_out ()=0
 
 ClassDef (FairDoubleHit, 1)
 
- Public Member Functions inherited from FairMultiLinkedData
 FairMultiLinkedData ()
 Default constructor. More...
 
 FairMultiLinkedData (const std::set< FairLink > &links, Bool_t persistanceCheck=kTRUE)
 Constructor. More...
 
 FairMultiLinkedData (TString dataType, const std::vector< Int_t > &links, Int_t fileId=-1, Int_t evtId=-1, Bool_t persistanceCheck=kTRUE, Bool_t bypass=kFALSE, Float_t mult=1.0)
 Constructor. More...
 
 FairMultiLinkedData (Int_t dataType, const std::vector< Int_t > &links, Int_t fileId=-1, Int_t evtId=-1, Bool_t persistanceCheck=kTRUE, Bool_t bypass=kFALSE, Float_t mult=1.0)
 Constructor. More...
 
virtual ~FairMultiLinkedData ()
 
virtual std::set< FairLinkGetLinks () const
 returns stored links as FairLinks More...
 
virtual FairLink GetEntryNr () const
 gives back the entryNr More...
 
virtual Int_t GetNLinks () const
 returns the number of stored links More...
 
virtual FairLink GetLink (Int_t pos) const
 returns the FairLink at the given position More...
 
virtual FairMultiLinkedData GetLinksWithType (Int_t type) const
 Gives you a list of links which contain the given type. More...
 
virtual std::vector< FairLinkGetSortedMCTracks ()
 Gives you a list of all FairLinks pointing to a "MCTrack" sorted by their weight. More...
 
TObject * GetData (FairLink &myLink)
 Get the TObject the Link is pointing to. More...
 
virtual Int_t GetDefaultType ()
 
Bool_t GetPersistanceCheck ()
 Returns the value of PersistanceCheck. More...
 
Int_t GetVerbose ()
 Returns the verbosity level. More...
 
virtual void SetDefaultType (Int_t type)
 
virtual void SetPersistanceCheck (Bool_t check)
 Controls if a persistance check of a link is done or not. More...
 
virtual void SetVerbose (Int_t level)
 Sets the verbosity level. More...
 
virtual void SetInsertHistory (Bool_t val)
 Toggles if history of a link is inserted or not. More...
 
Bool_t GetInsertHistory () const
 
virtual void SetEntryNr (FairLink entry)
 
virtual void SetLinks (FairMultiLinkedData links, Float_t mult=1.0)
 Sets the links as vector of FairLink. More...
 
virtual void SetLink (FairLink link, Bool_t bypass=kFALSE, Float_t mult=1.0)
 Sets the Links with a single FairLink. More...
 
virtual void AddLinks (FairMultiLinkedData links, Float_t mult=1.0)
 Adds a List of FairLinks (FairMultiLinkedData) to fLinks. More...
 
virtual void AddLink (FairLink link, Bool_t bypass=kFALSE, Float_t mult=1.0)
 
virtual void InsertLink (FairLink link)
 Inserts a link into the list of links without persistance checking. More...
 
virtual void InsertHistory (FairLink link)
 Adds the FairLinks of the inserted link to the set of links of this object. More...
 
virtual void AddAllWeights (Double_t weight)
 Adds weight to all Links. More...
 
virtual void SetAllWeights (Double_t weight)
 Sets a common weight for Links. More...
 
virtual void MultiplyAllWeights (Double_t weight)
 Multiplies all Links with weight. More...
 
virtual Bool_t IsLinkInList (FairLink link)
 Test if a given link is in fLinks. More...
 
virtual Bool_t IsLinkInList (Int_t type, Int_t index)
 Same as IsLinkInList(FairLink) just with type and index given separately. More...
 
virtual Int_t LinkPosInList (FairLink link)
 returns position of link in fLinks. If it is not in the list -1 is returned More...
 
virtual Int_t LinkPosInList (Int_t type, Int_t index)
 Same as LinkPosInList(FairLink) More...
 
virtual void DeleteLink (FairLink link)
 Deletes a link ouf of fLinks. More...
 
virtual void DeleteLink (Int_t type, Int_t index)
 Deletes a link ouf of fLinks. More...
 
virtual void Reset ()
 
virtual void ResetLinks ()
 Clears fLinks. More...
 
std::ostream & PrintLinkInfo (std::ostream &out=std::cout) const
 Output. More...
 

Protected Attributes

Int_t fRefIndex
 
Int_t fDetectorID
 
TVector3 fPosition_in
 
TVector3 fPositionError_in
 
TVector3 fPosition_out
 
TVector3 fPositionError_out
 
- Protected Attributes inherited from FairMultiLinkedData
std::set< FairLinkfLinks
 
FairLink fEntryNr
 
Bool_t fPersistanceCheck
 
Bool_t fInsertHistory
 
Int_t fVerbose
 
Int_t fDefaultType
 

Additional Inherited Members

- Protected Member Functions inherited from FairMultiLinkedData
virtual void SimpleAddLinks (Int_t fileId, Int_t evtId, Int_t dataType, const std::vector< Int_t > &links, Bool_t, Float_t)
 
 ClassDef (FairMultiLinkedData, 4)
 

Detailed Description

Definition at line 17 of file FairDoubleHit.h.

Constructor & Destructor Documentation

FairDoubleHit::FairDoubleHit ( )

Definition at line 12 of file FairDoubleHit.cxx.

FairDoubleHit::~FairDoubleHit ( )
virtual

Definition at line 21 of file FairDoubleHit.cxx.

Member Function Documentation

FairDoubleHit::ClassDef ( FairDoubleHit  ,
 
)
virtual Double_t FairDoubleHit::dx_in ( )
pure virtual
virtual Double_t FairDoubleHit::dx_out ( )
pure virtual
virtual Double_t FairDoubleHit::dy_in ( )
pure virtual
virtual Double_t FairDoubleHit::dy_out ( )
pure virtual
virtual Double_t FairDoubleHit::dz_in ( )
pure virtual
virtual Double_t FairDoubleHit::dz_out ( )
pure virtual
virtual Int_t FairDoubleHit::GetDetectorID ( )
pure virtual
virtual TVector3 FairDoubleHit::GetDPos_in ( )
pure virtual
virtual TVector3 FairDoubleHit::GetDPos_out ( )
pure virtual
virtual TVector3 FairDoubleHit::GetPos_in ( )
pure virtual
virtual TVector3 FairDoubleHit::GetPos_out ( )
pure virtual
virtual Int_t FairDoubleHit::GetRefIndex ( )
pure virtual
virtual void FairDoubleHit::Print ( const Option_t *  opt = 0) const
pure virtual
virtual void FairDoubleHit::SetDetectorID ( Int_t  chamb)
pure virtual
virtual void FairDoubleHit::SetDPos_in ( TVector3  xyz)
pure virtual
virtual void FairDoubleHit::SetDPos_out ( TVector3  xyz)
pure virtual
virtual void FairDoubleHit::SetPos_in ( TVector3  xyz)
pure virtual
virtual void FairDoubleHit::SetPos_out ( TVector3  xyz)
pure virtual
virtual void FairDoubleHit::SetRefIndex ( Int_t  index)
pure virtual
virtual Double_t FairDoubleHit::x_in ( )
pure virtual
virtual Double_t FairDoubleHit::x_out ( )
pure virtual
virtual Double_t FairDoubleHit::y_in ( )
pure virtual
virtual Double_t FairDoubleHit::y_out ( )
pure virtual
virtual Double_t FairDoubleHit::z_in ( )
pure virtual
virtual Double_t FairDoubleHit::z_out ( )
pure virtual

Member Data Documentation

Int_t FairDoubleHit::fDetectorID
protected

Definition at line 21 of file FairDoubleHit.h.

TVector3 FairDoubleHit::fPosition_in
protected

Definition at line 22 of file FairDoubleHit.h.

TVector3 FairDoubleHit::fPosition_out
protected

Definition at line 24 of file FairDoubleHit.h.

TVector3 FairDoubleHit::fPositionError_in
protected

Definition at line 23 of file FairDoubleHit.h.

TVector3 FairDoubleHit::fPositionError_out
protected

Definition at line 25 of file FairDoubleHit.h.

Int_t FairDoubleHit::fRefIndex
protected

Definition at line 20 of file FairDoubleHit.h.


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