|
| | ECLTrig () |
| | default constructor for ROOT
|
| |
| void | setTrigId (int TrigId) |
| | Set TrigID.
|
| |
| void | setTrigTag (int TrigTag) |
| | Set Trig Time (crate Id)
|
| |
| void | setTimeTrig (double TimeTrig) |
| | Set Triger Tag (crate Id)
|
| |
| int | getTrigId () const |
| | Get Trig ID.
|
| |
| int | getBurstSuppressionMask () const |
| | Burst suppression is an algorithm implemented in ECL ShaperDSP modules to prevent buffer overflow in cases of beam burst.
|
| |
| int | getTrigTag () const |
| | Get Trigger tag Trigger tag word width is 16 bit (bits 0-15).
|
| |
| int | getTrigTagQualityFlag () const |
| | Get trigger tag quality flag.
|
| |
| double | getTimeTrig () const |
| | Get Trig Time.
|
| |
| void | addRelationTo (const RelationsInterface< BASE > *object, float weight=1.0, const std::string &namedRelation="") const |
| | Add a relation from this object to another object (with caching).
|
| |
| void | addRelationTo (const TObject *object, float weight=1.0, const std::string &namedRelation="") const |
| | Add a relation from this object to another object (no caching, can be quite slow).
|
| |
| void | copyRelations (const RelationsInterface< BASE > *sourceObj) |
| | Copies all relations of sourceObj (pointing from or to sourceObj) to this object (including weights).
|
| |
| template<class TO > |
| RelationVector< TO > | getRelationsTo (const std::string &name="", const std::string &namedRelation="") const |
| | Get the relations that point from this object to another store array.
|
| |
| template<class FROM > |
| RelationVector< FROM > | getRelationsFrom (const std::string &name="", const std::string &namedRelation="") const |
| | Get the relations that point from another store array to this object.
|
| |
| template<class T > |
| RelationVector< T > | getRelationsWith (const std::string &name="", const std::string &namedRelation="") const |
| | Get the relations between this object and another store array.
|
| |
| template<class TO > |
| TO * | getRelatedTo (const std::string &name="", const std::string &namedRelation="") const |
| | Get the object to which this object has a relation.
|
| |
| template<class FROM > |
| FROM * | getRelatedFrom (const std::string &name="", const std::string &namedRelation="") const |
| | Get the object from which this object has a relation.
|
| |
| template<class T > |
| T * | getRelated (const std::string &name="", const std::string &namedRelation="") const |
| | Get the object to or from which this object has a relation.
|
| |
| template<class TO > |
| std::pair< TO *, float > | getRelatedToWithWeight (const std::string &name="", const std::string &namedRelation="") const |
| | Get first related object & weight of relation pointing to an array.
|
| |
| template<class FROM > |
| std::pair< FROM *, float > | getRelatedFromWithWeight (const std::string &name="", const std::string &namedRelation="") const |
| | Get first related object & weight of relation pointing from an array.
|
| |
| template<class T > |
| std::pair< T *, float > | getRelatedWithWeight (const std::string &name="", const std::string &namedRelation="") const |
| | Get first related object & weight of relation pointing from/to an array.
|
| |
| virtual std::string | getName () const |
| | Return a short name that describes this object, e.g.
|
| |
| virtual std::string | getInfoHTML () const |
| | Return a short summary of this object's contents in HTML format.
|
| |
| std::string | getInfo () const |
| | Return a short summary of this object's contents in raw text format.
|
| |
| std::string | getArrayName () const |
| | Get name of array this object is stored in, or "" if not found.
|
| |
| int | getArrayIndex () const |
| | Returns this object's array index (in StoreArray), or -1 if not found.
|
| |
Class to store ECLTrig, still need to be study relation to ECLHit filled in ecl/modules/eclDigitizer/src/ECLDigitizerModule.cc and ecl/modules/eclUnpacker/ECLUnpacker.cc.
Definition at line 25 of file ECLTrig.h.
Copies all relations of sourceObj (pointing from or to sourceObj) to this object (including weights).
Useful if you want to make a complete copy of a StoreArray object to make modifications to it, but retain all information on linked objects.
Note: this only works if sourceObj inherits from the same base (e.g. RelationsObject), and only for related objects that also inherit from the same base.
Definition at line 170 of file RelationsObject.h.
171 {
172 if (!sourceObj)
173 return;
174 auto fromRels = sourceObj->getRelationsFrom<RelationsInterface<BASE>>("ALL");
175 for (unsigned int iRel = 0; iRel < fromRels.size(); iRel++) {
176 fromRels.object(iRel)->addRelationTo(this, fromRels.weight(iRel));
177 }
178
179 auto toRels = sourceObj->getRelationsTo<RelationsInterface<BASE>>("ALL");
180 for (unsigned int iRel = 0; iRel < toRels.size(); iRel++) {
181 this->
addRelationTo(toRels.object(iRel), toRels.weight(iRel));
182 }
183 }
void addRelationTo(const RelationsInterface< BASE > *object, float weight=1.0, const std::string &namedRelation="") const
Add a relation from this object to another object (with caching).
| int getBurstSuppressionMask |
( |
| ) |
const |
|
inline |
Burst suppression is an algorithm implemented in ECL ShaperDSP modules to prevent buffer overflow in cases of beam burst.
In such case, ShaperDSP discards waveform data (ECLDsp) and sends only fit results (ECLDigit).
ALGORITHM DESCRIPTION
Each saved waveform increases beam burst suppression counter by 11 μs. When counter passes the threshold of 50 μs, waveforms are no longer saved until counter is below 50 μs again.
------------------>
\ +11 μs / \ +11 μs /
\~~~~~~/ \~~~~~~/
\~~~~/ \~~~~/
\__/ \__/
=======================
+ Value of beam +
+ burst suppression +
+ counter +
+ +
+ +
+ +
+ + Block waveform data
+ + ^
+ + |
50 μs +.......................
+ + |
+~~~~~~~~~~~~~~~~~~~+ v
+~~~~~~~~~~~~~~~~~~~+ Do not block
+~~~~~~~~~~~~~~~~~~~+ waveform data
+~~~~~~~~~~~~~~~~~~~+
+++++++++++++++++++++++>
~ -1 μs
~ -1 μs
Return burst suppression mask. 0–suppression inactive, 1–active.
- Returns
- Burst suppression mask (12 bits, 1 bit per each ShaperDSP)
Definition at line 95 of file ECLTrig.h.
| virtual std::string getInfoHTML |
( |
| ) |
const |
|
inlinevirtualinherited |
Return a short summary of this object's contents in HTML format.
Reimplement this in your own class to provide useful output for display or debugging purposes. For example, you might do something like:
std::stringstream out;
out << "<b>PDG</b>: " << m_pdg << "<br>";
out <<
"<b>Covariance Matrix</b>: " <<
HTML::getString(getCovariance5()) <<
"<br>";
return out.str();
std::string getString(const TMatrixFBase &matrix, int precision=2, bool color=true)
get HTML table representing a matrix.
- See also
- Particle::getInfoHTML() for a more complex example.
-
HTML for some utility functions.
-
Use getInfo() to get a raw text version of this output.
Reimplemented in Particle, Cluster, MCParticle, PIDLikelihood, SoftwareTriggerResult, Track, TrackFitResult, TRGSummary, and RecoTrack.
Definition at line 362 of file RelationsObject.h.