WCSim
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Public Member Functions | Private Member Functions | Private Attributes | List of all members
WCSimWCDigiTrigger Class Reference

#include <WCSimWCTrigger.hh>

Inheritance diagram for WCSimWCDigiTrigger:

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< G4double > GetPe (int gate)
 
std::vector< G4double > GetTime (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 213 of file WCSimWCTrigger.hh.

Constructor & Destructor Documentation

WCSimWCDigiTrigger::WCSimWCDigiTrigger ( )

Definition at line 508 of file WCSimWCTrigger.cc.

WCSimWCDigiTrigger::~WCSimWCDigiTrigger ( )

Definition at line 518 of file WCSimWCTrigger.cc.

WCSimWCDigiTrigger::WCSimWCDigiTrigger ( const WCSimWCDigiTrigger right)

Definition at line 520 of file WCSimWCTrigger.cc.

Member Function Documentation

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 236 of file WCSimWCTrigger.hh.

void WCSimWCDigiTrigger::AddGate ( G4int  gate)
inline

Definition at line 230 of file WCSimWCTrigger.hh.

void WCSimWCDigiTrigger::AddPe ( )
inline

Definition at line 231 of file WCSimWCTrigger.hh.

void WCSimWCDigiTrigger::Draw ( )
inline

Definition at line 226 of file WCSimWCTrigger.hh.

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

Definition at line 272 of file WCSimWCTrigger.hh.

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

Definition at line 244 of file WCSimWCTrigger.hh.

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

Definition at line 242 of file WCSimWCTrigger.hh.

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

Definition at line 243 of file WCSimWCTrigger.hh.

G4int WCSimWCDigiTrigger::GetTubeID ( )
inline

Definition at line 241 of file WCSimWCTrigger.hh.

bool WCSimWCDigiTrigger::HasHitsInGate ( int  gate)
inline

Definition at line 257 of file WCSimWCTrigger.hh.

int WCSimWCDigiTrigger::NumberOfGates ( )
inline

Definition at line 255 of file WCSimWCTrigger.hh.

int WCSimWCDigiTrigger::NumberOfSubEvents ( )
inline

Definition at line 256 of file WCSimWCTrigger.hh.

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

Definition at line 294 of file WCSimWCTrigger.hh.

void * WCSimWCDigiTrigger::operator new ( size_t  )
inline

Definition at line 287 of file WCSimWCTrigger.hh.

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

Definition at line 532 of file WCSimWCTrigger.cc.

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

Definition at line 543 of file WCSimWCTrigger.cc.

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

Definition at line 232 of file WCSimWCTrigger.hh.

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

Definition at line 233 of file WCSimWCTrigger.hh.

void WCSimWCDigiTrigger::SetTubeID ( G4int  tube)
inline

Definition at line 229 of file WCSimWCTrigger.hh.

Member Data Documentation

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

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

Definition at line 267 of file WCSimWCTrigger.hh.

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

'Gates' specifies subevent

Definition at line 262 of file WCSimWCTrigger.hh.

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

Digit charge.

Definition at line 265 of file WCSimWCTrigger.hh.

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

Digit time.

Definition at line 266 of file WCSimWCTrigger.hh.

G4int WCSimWCDigiTrigger::totalPe
private

Total charge on digit.

Definition at line 270 of file WCSimWCTrigger.hh.

G4int WCSimWCDigiTrigger::tubeID
private

PMT id of the digit.

Definition at line 260 of file WCSimWCTrigger.hh.


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