WCSim
Public Member Functions | Private Member Functions | Private Attributes | List of all members
WCSimWCDigiTrigger Class Reference

#include <WCSimWCTrigger.hh>

Inheritance diagram for WCSimWCDigiTrigger:
Inheritance graph
Collaboration diagram for WCSimWCDigiTrigger:
Collaboration graph

Public Member Functions

 WCSimWCDigiTrigger ()
 
 ~WCSimWCDigiTrigger ()
 
 WCSimWCDigiTrigger (const WCSimWCDigiTrigger &)
 
const WCSimWCDigiTriggeroperator= (const WCSimWCDigiTrigger &)
 
int operator== (const WCSimWCDigiTrigger &) const
 
void * operator new (size_t)
 
void operator delete (void *)
 
void Draw ()
 
void Print ()
 
void SetTubeID (G4int tube)
 
void AddGate (G4int gate)
 
void AddPe ()
 
void SetPe (G4int gate, G4double Q)
 
void SetTime (G4int gate, G4double T)
 
void AddDigiCompositionInfo (G4int gate, std::vector< int > &digi_comp)
 Add a whole vector for one digit to fDigiComp. Clear input vector once added. More...
 
G4int GetTubeID ()
 
std::vector< G4doubleGetPe (int gate)
 
std::vector< G4doubleGetTime (int gate)
 
std::vector< std::vector< int > > GetDigiCompositionInfo (int gate)
 
int NumberOfGates ()
 
int NumberOfSubEvents ()
 
bool HasHitsInGate (int gate)
 

Private Member Functions

template<typename T >
std::vector< T > FindInMultimap (const int compare, typename std::multimap< int, T > &map)
 

Private Attributes

G4int tubeID
 PMT id of the digit. More...
 
std::set< int > Gates
 'Gates' specifies subevent More...
 
std::multimap< int, double > pe
 Digit charge. More...
 
std::multimap< int, double > time
 Digit time. More...
 
std::multimap< int, std::vector< int > > fDigiComp
 Stores the unique IDs of each photon making up a digit. More...
 
G4int totalPe
 Total charge on digit. More...
 

Detailed Description

Definition at line 219 of file WCSimWCTrigger.hh.

Constructor & Destructor Documentation

◆ WCSimWCDigiTrigger() [1/2]

WCSimWCDigiTrigger::WCSimWCDigiTrigger ( )

Definition at line 543 of file WCSimWCTrigger.cc.

◆ ~WCSimWCDigiTrigger()

WCSimWCDigiTrigger::~WCSimWCDigiTrigger ( )

Definition at line 553 of file WCSimWCTrigger.cc.

◆ WCSimWCDigiTrigger() [2/2]

WCSimWCDigiTrigger::WCSimWCDigiTrigger ( const WCSimWCDigiTrigger right)

Definition at line 555 of file WCSimWCTrigger.cc.

Member Function Documentation

◆ AddDigiCompositionInfo()

void WCSimWCDigiTrigger::AddDigiCompositionInfo ( G4int  gate,
std::vector< int > &  digi_comp 
)
inline

Add a whole vector for one digit to fDigiComp. Clear input vector once added.

Definition at line 242 of file WCSimWCTrigger.hh.

◆ AddGate()

void WCSimWCDigiTrigger::AddGate ( G4int  gate)
inline

Definition at line 236 of file WCSimWCTrigger.hh.

◆ AddPe()

void WCSimWCDigiTrigger::AddPe ( )
inline

Definition at line 237 of file WCSimWCTrigger.hh.

◆ Draw()

void WCSimWCDigiTrigger::Draw ( )
inline

Definition at line 232 of file WCSimWCTrigger.hh.

◆ FindInMultimap()

template<typename T >
std::vector<T> WCSimWCDigiTrigger::FindInMultimap ( const int  compare,
typename std::multimap< int, T > &  map 
)
inlineprivate

Definition at line 278 of file WCSimWCTrigger.hh.

◆ GetDigiCompositionInfo()

std::vector<std::vector<int> > WCSimWCDigiTrigger::GetDigiCompositionInfo ( int  gate)
inline

Definition at line 250 of file WCSimWCTrigger.hh.

◆ GetPe()

std::vector<G4double> WCSimWCDigiTrigger::GetPe ( int  gate)
inline

Definition at line 248 of file WCSimWCTrigger.hh.

◆ GetTime()

std::vector<G4double> WCSimWCDigiTrigger::GetTime ( int  gate)
inline

Definition at line 249 of file WCSimWCTrigger.hh.

◆ GetTubeID()

G4int WCSimWCDigiTrigger::GetTubeID ( )
inline

Definition at line 247 of file WCSimWCTrigger.hh.

◆ HasHitsInGate()

bool WCSimWCDigiTrigger::HasHitsInGate ( int  gate)
inline

Definition at line 263 of file WCSimWCTrigger.hh.

◆ NumberOfGates()

int WCSimWCDigiTrigger::NumberOfGates ( )
inline

Definition at line 261 of file WCSimWCTrigger.hh.

◆ NumberOfSubEvents()

int WCSimWCDigiTrigger::NumberOfSubEvents ( )
inline

Definition at line 262 of file WCSimWCTrigger.hh.

◆ operator delete()

void WCSimWCDigiTrigger::operator delete ( void *  aDigi)
inline

Definition at line 300 of file WCSimWCTrigger.hh.

◆ operator new()

void * WCSimWCDigiTrigger::operator new ( size_t  )
inline

Definition at line 293 of file WCSimWCTrigger.hh.

◆ operator=()

const WCSimWCDigiTrigger & WCSimWCDigiTrigger::operator= ( const WCSimWCDigiTrigger right)

Definition at line 567 of file WCSimWCTrigger.cc.

◆ operator==()

int WCSimWCDigiTrigger::operator== ( const WCSimWCDigiTrigger ) const

◆ Print()

void WCSimWCDigiTrigger::Print ( )

Definition at line 578 of file WCSimWCTrigger.cc.

◆ SetPe()

void WCSimWCDigiTrigger::SetPe ( G4int  gate,
G4double  Q 
)
inline

Definition at line 238 of file WCSimWCTrigger.hh.

◆ SetTime()

void WCSimWCDigiTrigger::SetTime ( G4int  gate,
G4double  T 
)
inline

Definition at line 239 of file WCSimWCTrigger.hh.

◆ SetTubeID()

void WCSimWCDigiTrigger::SetTubeID ( G4int  tube)
inline

Definition at line 235 of file WCSimWCTrigger.hh.

Member Data Documentation

◆ fDigiComp

std::multimap<int, std::vector<int> > WCSimWCDigiTrigger::fDigiComp
private

Stores the unique IDs of each photon making up a digit.

Definition at line 273 of file WCSimWCTrigger.hh.

◆ Gates

std::set<int> WCSimWCDigiTrigger::Gates
private

'Gates' specifies subevent

Definition at line 268 of file WCSimWCTrigger.hh.

◆ pe

std::multimap<int,double> WCSimWCDigiTrigger::pe
private

Digit charge.

Definition at line 271 of file WCSimWCTrigger.hh.

◆ time

std::multimap<int,double> WCSimWCDigiTrigger::time
private

Digit time.

Definition at line 272 of file WCSimWCTrigger.hh.

◆ totalPe

G4int WCSimWCDigiTrigger::totalPe
private

Total charge on digit.

Definition at line 276 of file WCSimWCTrigger.hh.

◆ tubeID

G4int WCSimWCDigiTrigger::tubeID
private

PMT id of the digit.

Definition at line 266 of file WCSimWCTrigger.hh.


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