Skip to content

Commit

Permalink
Fix wrong operator.
Browse files Browse the repository at this point in the history
  • Loading branch information
ktf committed Apr 29, 2014
1 parent d5a1ca6 commit d277df2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion EventFilter/HcalRawToDigi/interface/HcalDCCHeader.h
Expand Up @@ -43,7 +43,7 @@ class HcalDCCHeader {
/** Check the third bit of second Slink64 CDF word */
inline bool thereIsAThirdCDFHeaderWord() const {return ((commondataformat2>>3) & 0x0001); }
/** Get the Orbit Number from the CDF. */
inline unsigned int getOrbitNumber() const { return ( ((commondataformat3 && 0xF) << 28) + ( commondataformat2>>4) ); }
inline unsigned int getOrbitNumber() const { return ( ((commondataformat3 & 0xF) << 28) + ( commondataformat2>>4) ); }
/** get the (undefined) 'Reserved' part of the second Slink64 CDF word */
inline unsigned int getSlink64ReservedBits() const { return ( (commondataformat3>>4)&0x00FFFFFF ); }
/** Get the Beginning Of Event bits. If it's not the first or last CDF Slink64 word, the high 4 bits must be zero.*/
Expand Down

0 comments on commit d277df2

Please sign in to comment.