8#ifndef CDCTRIGGERSEGMENTHIT_H
9#define CDCTRIGGERSEGMENTHIT_H
11#include <framework/datastore/RelationsObject.h>
12#include <cdc/dataobjects/WireID.h>
13#include <cdc/dataobjects/CDCHit.h>
34 unsigned short priorityPosition,
35 unsigned short leftRight,
40 unsigned int hitpattern = 0,
41 unsigned int hitpattern_adc = 0);
46 unsigned short priorityPosition,
47 unsigned short leftRight,
52 unsigned int hitpattern = 0,
53 unsigned int hitpattern_adc = 0);
58 unsigned short segmentID,
59 unsigned short priorityPosition,
60 unsigned short leftRight,
65 unsigned int hitpattern = 0,
66 unsigned int hitpattern_adc = 0);
Class containing the result of the unpacker in raw data and the result of the digitizer in simulation...
Combination of several CDCHits to a track segment hit for the trigger.
short priorityTime() const
get hit time of priority cell in trigger clocks
ClassDef(CDCTriggerSegmentHit, 5)
Needed to make the ROOT object storable.
unsigned int m_hitpattern
hit pattern
unsigned short m_priorityPosition
position of the priority cell as an id: 0: no hit, 3: 1st priority, 1: 2nd right, 2: 2nd left
bool LRknown() const
true if LeftRight position is determined
unsigned int gethitpattern_adc() const
get hit pattern in a segment hit
unsigned short getPriorityPosition() const
get position of the priority cell within the track segment (0: no hit, 3: 1st priority,...
unsigned int m_hitpattern_adc
hit pattern with adc cut
unsigned short m_eWire
Wire encoding of the priority wire.
short m_priorityTime
hit time of priority cell in trigger clocks (~ 2ns)
unsigned int gethitpattern() const
get hit pattern in a segment hit
unsigned short getIWire() const
get wire number of priority wire within layer.
short getTDCCount() const
get hit time of priority cell in trigger clocks alias for priorityTime for backwards compatibility
~CDCTriggerSegmentHit()
destructor, empty because we don't allocate memory anywhere.
short m_fastestTime
time of first hit in the track segment in trigger clocks (~ 2ns)
short getQuadrant() const
get the quadrant
unsigned short getSegmentID() const
get continuous ID of the track segment [0, 2335]
unsigned short getID() const
get the encoded wire number of the priority wire.
unsigned short m_segmentID
continuous ID of the track segment
short fastestTime() const
get time of first hit in the track segment in trigger clocks
short m_foundTime
time when segment hit was found in trigger clocks (~ 2ns)
unsigned short getISuperLayer() const
get super layer number.
CDCTriggerSegmentHit()
default constructor.
unsigned short getLeftRight() const
get position of the priority cell relative to the track (0: no hit, 1: right, 2: left,...
unsigned short getILayer() const
get priority layer number within super layer.
unsigned short m_leftRight
position of the priority cell relative to the track: 0: no hit, 1: right, 2: left,...
unsigned short getIWireCenter() const
get wire number of center wire within layer.
short foundTime() const
get time when segment hit was found in trigger clocks
Defines interface for accessing relations of objects in StoreArray.
Class to identify a wire inside the CDC.
unsigned short getIWire() const
Getter for wire within the layer.
unsigned short getISuperLayer() const
Getter for Super-Layer.
unsigned short getILayer() const
Getter for layer within the Super-Layer.
Abstract base class for different kinds of events.