Diana Software
Classes | Public Member Functions | Private Types | Private Member Functions | Private Attributes | List of all members
MFastCoincidence Class Reference
Inheritance diagram for MFastCoincidence:

Classes

struct  ChannelInfo
 

Public Member Functions

void Init (Diana::QEvent &ev)
 
void Do (Diana::QEvent &ev)
 
void Done ()
 
double GetTime (const Diana::QEvent &ev)
 

Private Types

enum  TimeVariable { TV_RAW , TV_OF }
 

Private Member Functions

double GetChannelDistance (int, int)
 
double GetDistanceMmChannel (const int ch1, const int ch2)
 

Private Attributes

int fDataset
 
bool fUseRunningWindow
 
bool fUseRunningRadius
 
bool fSyncTime
 
std::string fSyncType
 
std::string fSyncSource
 
std::string fSyncTowerSource
 
double fCoincidenceWindow
 
std::string fEnergyLabel
 
std::vector< std::string > fPSALabels
 
TimeVariable fTimeVariable
 
QRunData fRunData
 
int fThisRun
 
std::map< int, ChannelInfofSyncTimeDifference
 
bool fStorePosition
 
std::set< int > fBlackList
 
std::string fOFLabel
 
double fCoincidenceRadius
 
std::map< int, double > fChannelPositionX
 
std::map< int, double > fChannelPositionY
 
std::map< int, double > fChannelPositionZ
 
std::vector< TimeNeighbour * > timeNeighbours
 
std::map< int, int > ChannelTowerMap
 
std::map< int, int > ChannelFloorMap
 
std::map< int, int > ChannelPositionMap
 
std::string fChannelPositionFile
 
bool fUseChannelPosition
 

Detailed Description

Definition at line 19 of file MFastCoincidence.hh.

Member Enumeration Documentation

◆ TimeVariable

Enumerator
TV_RAW 
TV_OF 

Definition at line 28 of file MFastCoincidence.hh.

Member Function Documentation

◆ Do()

void MFastCoincidence::Do ( Diana::QEvent &  ev)

◆ Done()

void MFastCoincidence::Done ( )

◆ GetChannelDistance()

double MFastCoincidence::GetChannelDistance ( int  ,
int   
)
private

◆ GetDistanceMmChannel()

double MFastCoincidence::GetDistanceMmChannel ( const int  ch1,
const int  ch2 
)
private

Definition at line 469 of file MFastCoincidence.cc.

References fChannelPositionX, fChannelPositionY, fChannelPositionZ, and pow().

Referenced by Do().

◆ GetTime()

double MFastCoincidence::GetTime ( const Diana::QEvent &  ev)

◆ Init()

void MFastCoincidence::Init ( Diana::QEvent &  ev)

Member Data Documentation

◆ ChannelFloorMap

std::map<int, int> MFastCoincidence::ChannelFloorMap
private

Definition at line 68 of file MFastCoincidence.hh.

Referenced by Do(), and Done().

◆ ChannelPositionMap

std::map<int, int> MFastCoincidence::ChannelPositionMap
private

Definition at line 69 of file MFastCoincidence.hh.

Referenced by Do(), and Done().

◆ ChannelTowerMap

std::map<int, int> MFastCoincidence::ChannelTowerMap
private

Definition at line 67 of file MFastCoincidence.hh.

Referenced by Do(), and Done().

◆ fBlackList

std::set<int> MFastCoincidence::fBlackList
private

Definition at line 58 of file MFastCoincidence.hh.

Referenced by GetTime().

◆ fChannelPositionFile

std::string MFastCoincidence::fChannelPositionFile
private

Definition at line 71 of file MFastCoincidence.hh.

Referenced by Init().

◆ fChannelPositionX

std::map<int, double> MFastCoincidence::fChannelPositionX
private

Definition at line 61 of file MFastCoincidence.hh.

Referenced by Done(), GetDistanceMmChannel(), and Init().

◆ fChannelPositionY

std::map<int, double> MFastCoincidence::fChannelPositionY
private

Definition at line 62 of file MFastCoincidence.hh.

Referenced by Done(), GetDistanceMmChannel(), and Init().

◆ fChannelPositionZ

std::map<int, double> MFastCoincidence::fChannelPositionZ
private

Definition at line 63 of file MFastCoincidence.hh.

Referenced by Done(), GetDistanceMmChannel(), and Init().

◆ fCoincidenceRadius

double MFastCoincidence::fCoincidenceRadius
private

Definition at line 60 of file MFastCoincidence.hh.

Referenced by Do(), and Init().

◆ fCoincidenceWindow

double MFastCoincidence::fCoincidenceWindow
private

Definition at line 44 of file MFastCoincidence.hh.

Referenced by Do(), and Init().

◆ fDataset

int MFastCoincidence::fDataset
private

Definition at line 37 of file MFastCoincidence.hh.

Referenced by Do(), GetTime(), and Init().

◆ fEnergyLabel

std::string MFastCoincidence::fEnergyLabel
private

Definition at line 45 of file MFastCoincidence.hh.

Referenced by Do(), and Init().

◆ fOFLabel

std::string MFastCoincidence::fOFLabel
private

Definition at line 59 of file MFastCoincidence.hh.

Referenced by GetTime(), and Init().

◆ fPSALabels

std::vector<std::string> MFastCoincidence::fPSALabels
private

Definition at line 46 of file MFastCoincidence.hh.

Referenced by Init().

◆ fRunData

QRunData MFastCoincidence::fRunData
private

Definition at line 48 of file MFastCoincidence.hh.

Referenced by Do(), and GetTime().

◆ fStorePosition

bool MFastCoincidence::fStorePosition
private

Definition at line 57 of file MFastCoincidence.hh.

Referenced by Init().

◆ fSyncSource

std::string MFastCoincidence::fSyncSource
private

Definition at line 42 of file MFastCoincidence.hh.

Referenced by GetTime(), and Init().

◆ fSyncTime

bool MFastCoincidence::fSyncTime
private

Definition at line 40 of file MFastCoincidence.hh.

Referenced by GetTime(), and Init().

◆ fSyncTimeDifference

std::map<int, ChannelInfo> MFastCoincidence::fSyncTimeDifference
private

Definition at line 56 of file MFastCoincidence.hh.

Referenced by Done().

◆ fSyncTowerSource

std::string MFastCoincidence::fSyncTowerSource
private

Definition at line 43 of file MFastCoincidence.hh.

Referenced by GetTime(), and Init().

◆ fSyncType

std::string MFastCoincidence::fSyncType
private

Definition at line 41 of file MFastCoincidence.hh.

Referenced by GetTime(), and Init().

◆ fThisRun

int MFastCoincidence::fThisRun
private

Definition at line 49 of file MFastCoincidence.hh.

Referenced by Do(), and Init().

◆ fTimeVariable

TimeVariable MFastCoincidence::fTimeVariable
private

Definition at line 47 of file MFastCoincidence.hh.

Referenced by GetTime(), and Init().

◆ fUseChannelPosition

bool MFastCoincidence::fUseChannelPosition
private

Definition at line 72 of file MFastCoincidence.hh.

Referenced by Do(), and Init().

◆ fUseRunningRadius

bool MFastCoincidence::fUseRunningRadius
private

Definition at line 39 of file MFastCoincidence.hh.

Referenced by Do(), and Init().

◆ fUseRunningWindow

bool MFastCoincidence::fUseRunningWindow
private

Definition at line 38 of file MFastCoincidence.hh.

Referenced by Do(), and Init().

◆ timeNeighbours

std::vector<TimeNeighbour*> MFastCoincidence::timeNeighbours
private

Definition at line 65 of file MFastCoincidence.hh.

Referenced by Do(), and Done().


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