#include <RecTrigger.h>
Collaboration diagram for DayaBay::RecTrigger:
Public Member Functions | |
RecTrigger () | |
Default Constructor. | |
RecTrigger (const RecTrigger &rh) | |
Copy Constructor. | |
RecTrigger & | operator= (const RecTrigger &rh) |
Assignment operator. | |
virtual | ~RecTrigger () |
Default Destructor. | |
virtual std::ostream & | fillStream (std::ostream &s) const |
Fill the ASCII output stream. | |
const DayaBay::Detector & | detector () const |
Retrieve const The detector associated with this RecTrigger. | |
void | setDetector (const DayaBay::Detector &value) |
Update The detector associated with this RecTrigger. | |
unsigned int | triggerNumber () const |
Retrieve const The count of the trigger command from this detector. | |
void | setTriggerNumber (unsigned int value) |
Update The count of the trigger command from this detector. | |
const TimeStamp & | triggerTime () const |
Retrieve const The absolute time of the trigger command. | |
void | setTriggerTime (const TimeStamp &value) |
Update The absolute time of the trigger command. | |
const DayaBay::Trigger::TriggerType_t & | triggerType () const |
Retrieve const The type fo trigger that produced this RecTrigger. | |
void | setTriggerType (const DayaBay::Trigger::TriggerType_t &value) |
Update The type fo trigger that produced this RecTrigger. | |
double | energy () const |
Retrieve const The reconstruced visible energy. | |
void | setEnergy (double value) |
Update The reconstruced visible energy. | |
const CLHEP::HepLorentzVector & | position () const |
Retrieve const The reconstructed vertex position and time. | |
void | setPosition (const CLHEP::HepLorentzVector &value) |
Update The reconstructed vertex position and time. | |
const CLHEP::HepLorentzVector & | direction () const |
Retrieve const The reconstructed track direction and time. | |
void | setDirection (const CLHEP::HepLorentzVector &value) |
Update The reconstructed track direction and time. | |
int | energyStatus () const |
Retrieve const The status of energy reconstruction. | |
void | setEnergyStatus (int value) |
Update The status of energy reconstruction. | |
int | positionStatus () const |
Retrieve const The status of vertex reconstruction. | |
void | setPositionStatus (int value) |
Update The status of vertex reconstruction. | |
int | directionStatus () const |
Retrieve const The status of track reconstruction. | |
void | setDirectionStatus (int value) |
Update The status of track reconstruction. | |
double | energyQuality () const |
Retrieve const A quality measure of energy reconstruction. | |
void | setEnergyQuality (double value) |
Update A quality measure of energy reconstruction. | |
double | positionQuality () const |
Retrieve const A quality measure of vertex reconstruction. | |
void | setPositionQuality (double value) |
Update A quality measure of vertex reconstruction. | |
double | directionQuality () const |
Retrieve const A quality measure of track reconstruction. | |
void | setDirectionQuality (double value) |
Update A quality measure of track reconstruction. | |
const CLHEP::HepMatrix & | errorMatrix () const |
Retrieve const The error matrix of the fitted parameters. | |
void | setErrorMatrix (const CLHEP::HepMatrix &value) |
Update The error matrix of the fitted parameters. | |
const DayaBay::RecHeader * | header () const |
Retrieve const The rec header associated with this recTrigger. | |
void | setHeader (DayaBay::RecHeader *value) |
Update The rec header associated with this recTrigger. | |
Static Public Member Functions | |
static void * | operator new (size_t size) |
operator new | |
static void * | operator new (size_t size, void *pObj) |
placement operator new it is needed by libstdc++ 3.2.3 (e.g. | |
static void | operator delete (void *p) |
operator delete | |
static void | operator delete (void *p, void *pObj) |
placement operator delete not sure if really needed, but it does not harm | |
Private Attributes | |
DayaBay::Detector | m_detector |
The detector associated with this RecTrigger. | |
unsigned int | m_triggerNumber |
The count of the trigger command from this detector. | |
TimeStamp | m_triggerTime |
The absolute time of the trigger command. | |
DayaBay::Trigger::TriggerType_t | m_triggerType |
The type fo trigger that produced this RecTrigger. | |
double | m_energy |
The reconstruced visible energy. | |
CLHEP::HepLorentzVector | m_position |
The reconstructed vertex position and time. | |
CLHEP::HepLorentzVector | m_direction |
The reconstructed track direction and time. | |
int | m_energyStatus |
The status of energy reconstruction. | |
int | m_positionStatus |
The status of vertex reconstruction. | |
int | m_directionStatus |
The status of track reconstruction. | |
double | m_energyQuality |
A quality measure of energy reconstruction. | |
double | m_positionQuality |
A quality measure of vertex reconstruction. | |
double | m_directionQuality |
A quality measure of track reconstruction. | |
CLHEP::HepMatrix | m_errorMatrix |
The error matrix of the fitted parameters. | |
DayaBay::RecHeader * | m_header |
The rec header associated with this recTrigger. |
Definition at line 46 of file RecTrigger.h.
DayaBay::RecTrigger::RecTrigger | ( | ) | [inline] |
Default Constructor.
Definition at line 51 of file RecTrigger.h.
00051 : m_detector(0), 00052 m_triggerNumber(0), 00053 m_triggerTime(0), 00054 m_triggerType(), 00055 m_energy(0), 00056 m_position(), 00057 m_direction(), 00058 m_energyStatus(0), 00059 m_positionStatus(0), 00060 m_directionStatus(0), 00061 m_energyQuality(0), 00062 m_positionQuality(0), 00063 m_directionQuality(0), 00064 m_errorMatrix(), 00065 m_header(0) {}
DayaBay::RecTrigger::RecTrigger | ( | const RecTrigger & | rh | ) | [inline] |
Copy Constructor.
Definition at line 269 of file RecTrigger.h.
00269 : 00270 m_detector( rh.m_detector ), 00271 m_triggerNumber( rh.m_triggerNumber ), 00272 m_triggerTime( rh.m_triggerTime ), 00273 m_triggerType( rh.m_triggerType ), 00274 m_energy( rh.m_energy ), 00275 m_position( rh.m_position ), 00276 m_direction( rh.m_direction ), 00277 m_energyStatus( rh.m_energyStatus ), 00278 m_positionStatus( rh.m_positionStatus ), 00279 m_directionStatus( rh.m_directionStatus ), 00280 m_energyQuality( rh.m_energyQuality ), 00281 m_positionQuality( rh.m_positionQuality ), 00282 m_directionQuality( rh.m_directionQuality ), 00283 m_errorMatrix( rh.m_errorMatrix ), 00284 m_header( rh.m_header ) 00285 {}
virtual DayaBay::RecTrigger::~RecTrigger | ( | ) | [inline, virtual] |
DayaBay::RecTrigger & DayaBay::RecTrigger::operator= | ( | const RecTrigger & | rh | ) | [inline] |
Assignment operator.
Definition at line 287 of file RecTrigger.h.
00287 { 00288 if ( this != &rh ) { 00289 m_detector = rh.m_detector; 00290 m_triggerNumber = rh.m_triggerNumber; 00291 m_triggerTime = rh.m_triggerTime; 00292 m_triggerType = rh.m_triggerType; 00293 m_energy = rh.m_energy; 00294 m_position = rh.m_position; 00295 m_direction = rh.m_direction; 00296 m_energyStatus = rh.m_energyStatus; 00297 m_positionStatus = rh.m_positionStatus; 00298 m_directionStatus = rh.m_directionStatus; 00299 m_energyQuality = rh.m_energyQuality; 00300 m_positionQuality = rh.m_positionQuality; 00301 m_directionQuality = rh.m_directionQuality; 00302 m_errorMatrix = rh.m_errorMatrix; 00303 m_header = rh.m_header; 00304 } 00305 return *this; 00306 }
std::ostream & DayaBay::RecTrigger::fillStream | ( | std::ostream & | s | ) | const [inline, virtual] |
Fill the ASCII output stream.
Definition at line 308 of file RecTrigger.h.
00309 { 00310 s << "{ " << "detector : " << m_detector << std::endl 00311 << "triggerNumber : " << m_triggerNumber << std::endl 00312 << "triggerTime : " << m_triggerTime << std::endl 00313 << "triggerType : " << m_triggerType << std::endl 00314 << "energy : " << (float)m_energy << std::endl 00315 << "position : " << m_position << std::endl 00316 << "direction : " << m_direction << std::endl 00317 << "energyStatus : " << m_energyStatus << std::endl 00318 << "positionStatus : " << m_positionStatus << std::endl 00319 << "directionStatus : " << m_directionStatus << std::endl 00320 << "energyQuality : " << (float)m_energyQuality << std::endl 00321 << "positionQuality : " << (float)m_positionQuality << std::endl 00322 << "directionQuality : " << (float)m_directionQuality << std::endl 00323 << "errorMatrix : " << m_errorMatrix << std::endl 00324 << "header : " << m_header << std::endl << " }"; 00325 return s; 00326 }
const DayaBay::Detector & DayaBay::RecTrigger::detector | ( | ) | const [inline] |
Retrieve const The detector associated with this RecTrigger.
Definition at line 329 of file RecTrigger.h.
00330 { 00331 return m_detector; 00332 }
void DayaBay::RecTrigger::setDetector | ( | const DayaBay::Detector & | value | ) | [inline] |
Update The detector associated with this RecTrigger.
Definition at line 334 of file RecTrigger.h.
00335 { 00336 m_detector = value; 00337 }
unsigned int DayaBay::RecTrigger::triggerNumber | ( | ) | const [inline] |
Retrieve const The count of the trigger command from this detector.
Definition at line 339 of file RecTrigger.h.
00340 { 00341 return m_triggerNumber; 00342 }
void DayaBay::RecTrigger::setTriggerNumber | ( | unsigned int | value | ) | [inline] |
Update The count of the trigger command from this detector.
Definition at line 344 of file RecTrigger.h.
00345 { 00346 m_triggerNumber = value; 00347 }
const TimeStamp & DayaBay::RecTrigger::triggerTime | ( | ) | const [inline] |
Retrieve const The absolute time of the trigger command.
Definition at line 349 of file RecTrigger.h.
00350 { 00351 return m_triggerTime; 00352 }
void DayaBay::RecTrigger::setTriggerTime | ( | const TimeStamp & | value | ) | [inline] |
Update The absolute time of the trigger command.
Definition at line 354 of file RecTrigger.h.
00355 { 00356 m_triggerTime = value; 00357 }
const DayaBay::Trigger::TriggerType_t & DayaBay::RecTrigger::triggerType | ( | ) | const [inline] |
Retrieve const The type fo trigger that produced this RecTrigger.
Definition at line 359 of file RecTrigger.h.
00360 { 00361 return m_triggerType; 00362 }
void DayaBay::RecTrigger::setTriggerType | ( | const DayaBay::Trigger::TriggerType_t & | value | ) | [inline] |
Update The type fo trigger that produced this RecTrigger.
Definition at line 364 of file RecTrigger.h.
00365 { 00366 m_triggerType = value; 00367 }
double DayaBay::RecTrigger::energy | ( | ) | const [inline] |
Retrieve const The reconstruced visible energy.
Definition at line 369 of file RecTrigger.h.
00370 { 00371 return m_energy; 00372 }
void DayaBay::RecTrigger::setEnergy | ( | double | value | ) | [inline] |
Update The reconstruced visible energy.
Definition at line 374 of file RecTrigger.h.
00375 { 00376 m_energy = value; 00377 }
const CLHEP::HepLorentzVector & DayaBay::RecTrigger::position | ( | ) | const [inline] |
Retrieve const The reconstructed vertex position and time.
Definition at line 379 of file RecTrigger.h.
00380 { 00381 return m_position; 00382 }
void DayaBay::RecTrigger::setPosition | ( | const CLHEP::HepLorentzVector & | value | ) | [inline] |
Update The reconstructed vertex position and time.
Definition at line 384 of file RecTrigger.h.
00385 { 00386 m_position = value; 00387 }
const CLHEP::HepLorentzVector & DayaBay::RecTrigger::direction | ( | ) | const [inline] |
Retrieve const The reconstructed track direction and time.
Definition at line 389 of file RecTrigger.h.
00390 { 00391 return m_direction; 00392 }
void DayaBay::RecTrigger::setDirection | ( | const CLHEP::HepLorentzVector & | value | ) | [inline] |
Update The reconstructed track direction and time.
Definition at line 394 of file RecTrigger.h.
00395 { 00396 m_direction = value; 00397 }
int DayaBay::RecTrigger::energyStatus | ( | ) | const [inline] |
Retrieve const The status of energy reconstruction.
Definition at line 399 of file RecTrigger.h.
00400 { 00401 return m_energyStatus; 00402 }
void DayaBay::RecTrigger::setEnergyStatus | ( | int | value | ) | [inline] |
Update The status of energy reconstruction.
Definition at line 404 of file RecTrigger.h.
00405 { 00406 m_energyStatus = value; 00407 }
int DayaBay::RecTrigger::positionStatus | ( | ) | const [inline] |
Retrieve const The status of vertex reconstruction.
Definition at line 409 of file RecTrigger.h.
00410 { 00411 return m_positionStatus; 00412 }
void DayaBay::RecTrigger::setPositionStatus | ( | int | value | ) | [inline] |
Update The status of vertex reconstruction.
Definition at line 414 of file RecTrigger.h.
00415 { 00416 m_positionStatus = value; 00417 }
int DayaBay::RecTrigger::directionStatus | ( | ) | const [inline] |
Retrieve const The status of track reconstruction.
Definition at line 419 of file RecTrigger.h.
00420 { 00421 return m_directionStatus; 00422 }
void DayaBay::RecTrigger::setDirectionStatus | ( | int | value | ) | [inline] |
Update The status of track reconstruction.
Definition at line 424 of file RecTrigger.h.
00425 { 00426 m_directionStatus = value; 00427 }
double DayaBay::RecTrigger::energyQuality | ( | ) | const [inline] |
Retrieve const A quality measure of energy reconstruction.
Definition at line 429 of file RecTrigger.h.
00430 { 00431 return m_energyQuality; 00432 }
void DayaBay::RecTrigger::setEnergyQuality | ( | double | value | ) | [inline] |
Update A quality measure of energy reconstruction.
Definition at line 434 of file RecTrigger.h.
00435 { 00436 m_energyQuality = value; 00437 }
double DayaBay::RecTrigger::positionQuality | ( | ) | const [inline] |
Retrieve const A quality measure of vertex reconstruction.
Definition at line 439 of file RecTrigger.h.
00440 { 00441 return m_positionQuality; 00442 }
void DayaBay::RecTrigger::setPositionQuality | ( | double | value | ) | [inline] |
Update A quality measure of vertex reconstruction.
Definition at line 444 of file RecTrigger.h.
00445 { 00446 m_positionQuality = value; 00447 }
double DayaBay::RecTrigger::directionQuality | ( | ) | const [inline] |
Retrieve const A quality measure of track reconstruction.
Definition at line 449 of file RecTrigger.h.
00450 { 00451 return m_directionQuality; 00452 }
void DayaBay::RecTrigger::setDirectionQuality | ( | double | value | ) | [inline] |
Update A quality measure of track reconstruction.
Definition at line 454 of file RecTrigger.h.
00455 { 00456 m_directionQuality = value; 00457 }
const CLHEP::HepMatrix & DayaBay::RecTrigger::errorMatrix | ( | ) | const [inline] |
Retrieve const The error matrix of the fitted parameters.
Definition at line 459 of file RecTrigger.h.
00460 { 00461 return m_errorMatrix; 00462 }
void DayaBay::RecTrigger::setErrorMatrix | ( | const CLHEP::HepMatrix & | value | ) | [inline] |
Update The error matrix of the fitted parameters.
Definition at line 464 of file RecTrigger.h.
00465 { 00466 m_errorMatrix = value; 00467 }
const DayaBay::RecHeader * DayaBay::RecTrigger::header | ( | ) | const [inline] |
Retrieve const The rec header associated with this recTrigger.
Definition at line 469 of file RecTrigger.h.
00470 { 00471 return m_header; 00472 }
void DayaBay::RecTrigger::setHeader | ( | DayaBay::RecHeader * | value | ) | [inline] |
Update The rec header associated with this recTrigger.
Definition at line 474 of file RecTrigger.h.
00475 { 00476 m_header = value; 00477 }
static void* DayaBay::RecTrigger::operator new | ( | size_t | size | ) | [inline, static] |
operator new
Definition at line 202 of file RecTrigger.h.
00203 { 00204 return ( sizeof(RecTrigger) == size ? 00205 boost::singleton_pool<RecTrigger, sizeof(RecTrigger)>::malloc() : 00206 ::operator new(size) ); 00207 }
static void* DayaBay::RecTrigger::operator new | ( | size_t | size, | |
void * | pObj | |||
) | [inline, static] |
placement operator new it is needed by libstdc++ 3.2.3 (e.g.
in std::vector) it is not needed in libstdc++ >= 3.4
Definition at line 212 of file RecTrigger.h.
static void DayaBay::RecTrigger::operator delete | ( | void * | p | ) | [inline, static] |
operator delete
Definition at line 218 of file RecTrigger.h.
00219 { 00220 boost::singleton_pool<RecTrigger, sizeof(RecTrigger)>::is_from(p) ? 00221 boost::singleton_pool<RecTrigger, sizeof(RecTrigger)>::free(p) : 00222 ::operator delete(p); 00223 }
static void DayaBay::RecTrigger::operator delete | ( | void * | p, | |
void * | pObj | |||
) | [inline, static] |
placement operator delete not sure if really needed, but it does not harm
Definition at line 227 of file RecTrigger.h.
00228 { 00229 ::operator delete (p, pObj); 00230 }
unsigned int DayaBay::RecTrigger::m_triggerNumber [private] |
TimeStamp DayaBay::RecTrigger::m_triggerTime [private] |
double DayaBay::RecTrigger::m_energy [private] |
int DayaBay::RecTrigger::m_energyStatus [private] |
int DayaBay::RecTrigger::m_positionStatus [private] |
int DayaBay::RecTrigger::m_directionStatus [private] |
double DayaBay::RecTrigger::m_energyQuality [private] |
double DayaBay::RecTrigger::m_positionQuality [private] |
double DayaBay::RecTrigger::m_directionQuality [private] |
CLHEP::HepMatrix DayaBay::RecTrigger::m_errorMatrix [private] |
DayaBay::RecHeader* DayaBay::RecTrigger::m_header [private] |