File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -239,6 +239,9 @@ unsigned int StTriggerData::bunchCounterHigh() const {return 0;}
239239unsigned int StTriggerData::bunchCounterLow () const {return 0 ;}
240240unsigned int StTriggerData::bunchId48Bit () const {return 0 ;}
241241unsigned int StTriggerData::bunchId7Bit () const {return 0 ;}
242+ unsigned int StTriggerData::revTick1 () const {return 0 ;}
243+ unsigned int StTriggerData::revTick2 () const {return 0 ;}
244+ unsigned int StTriggerData::revTick3 () const {return 0 ;}
242245unsigned int StTriggerData::spinBit () const {return 0 ;}
243246unsigned int StTriggerData::spinBitYellowFilled () const {return 0 ;}
244247unsigned int StTriggerData::spinBitYellowUp () const {return 0 ;}
Original file line number Diff line number Diff line change @@ -235,6 +235,9 @@ class StTriggerData : public StObject {
235235 virtual unsigned int bunchCounterLow () const ;
236236 virtual unsigned int bunchId48Bit () const ;
237237 virtual unsigned int bunchId7Bit () const ;
238+ virtual unsigned int revTick1 () const ;
239+ virtual unsigned int revTick2 () const ;
240+ virtual unsigned int revTick3 () const ;
238241 virtual unsigned int spinBit () const ;
239242 virtual unsigned int spinBitYellowFilled () const ;
240243 virtual unsigned int spinBitYellowUp () const ;
Original file line number Diff line number Diff line change @@ -354,6 +354,21 @@ unsigned int StTriggerData2019::bunchId7Bit() const
354354 return b7;
355355}
356356
357+ unsigned int StTriggerData2019::revTick1 () const
358+ {
359+ return L1_DSM->BCdata [1 ] & 0x1 ;
360+ }
361+
362+ unsigned int StTriggerData2019::revTick2 () const
363+ {
364+ return L1_DSM->BCdata [12 ] & 0x1 ;
365+ }
366+
367+ unsigned int StTriggerData2019::revTick3 () const
368+ {
369+ return (L1_DSM->lastDSM [4 ] >> 3 ) & 0x1 ;
370+ }
371+
357372unsigned int StTriggerData2019::spinBit () const
358373{
359374 return (L1_DSM->lastDSM [4 ]/16 )%256 ;
Original file line number Diff line number Diff line change @@ -70,6 +70,9 @@ class StTriggerData2019 : public StTriggerData {
7070 unsigned int bunchCounterLow () const ;
7171 unsigned int bunchId48Bit () const ;
7272 unsigned int bunchId7Bit () const ;
73+ unsigned int revTick1 () const ;
74+ unsigned int revTick2 () const ;
75+ unsigned int revTick3 () const ;
7376 unsigned int spinBit () const ;
7477 unsigned int spinBitYellowFilled () const ;
7578 unsigned int spinBitYellowUp () const ;
Original file line number Diff line number Diff line change @@ -354,6 +354,22 @@ unsigned int StTriggerData2022::bunchId7Bit() const
354354 return b7;
355355}
356356
357+ unsigned int StTriggerData2022::revTick1 () const
358+ {
359+ return L1_DSM->BCdata [1 ] & 0x1 ;
360+ }
361+
362+ unsigned int StTriggerData2022::revTick2 () const
363+ {
364+ return L1_DSM->BCdata [12 ] & 0x1 ;
365+ }
366+
367+ unsigned int StTriggerData2022::revTick3 () const
368+ {
369+ return (L1_DSM->lastDSM [4 ] >> 3 ) & 0x1 ;
370+ }
371+
372+
357373unsigned int StTriggerData2022::spinBit () const
358374{
359375 return (L1_DSM->lastDSM [4 ]/16 )%256 ;
Original file line number Diff line number Diff line change @@ -70,6 +70,9 @@ class StTriggerData2022 : public StTriggerData {
7070 unsigned int bunchCounterLow () const ;
7171 unsigned int bunchId48Bit () const ;
7272 unsigned int bunchId7Bit () const ;
73+ unsigned int revTick1 () const ;
74+ unsigned int revTick2 () const ;
75+ unsigned int revTick3 () const ;
7376 unsigned int spinBit () const ;
7477 unsigned int spinBitYellowFilled () const ;
7578 unsigned int spinBitYellowUp () const ;
You can’t perform that action at this time.
0 commit comments