Skip to content
Snippets Groups Projects

DevelopmentTagger enum and string conversion

Merged Vukan Jevtic requested to merge tagging_ift_v2 into run2-patches
1 file
+ 8
19
Compare changes
  • Side-by-side
  • Inline
@@ -97,20 +97,9 @@ namespace LHCb {
DevelopmentTaggerDev = 40199,
};
/// Copy Constructor
Tagger( const Tagger& c )
: m_type( c.type() )
, m_decision( c.decision() )
, m_omega( c.omega() )
, m_mvaValue( c.mvaValue() )
, m_charge( c.charge() )
, m_taggerParts( c.taggerParts() ) {}
/// Default Constructor
Tagger() : m_type( 0 ), m_decision( 0 ), m_omega( 0.50 ), m_mvaValue( 0.0 ), m_charge( 0.0 ) {}
/// Default Destructor
~Tagger() {}
Tagger() = default;
Tagger( const Tagger& c ) = default;
~Tagger() = default;
/// Fill the ASCII output stream
std::ostream& fillStream( std::ostream& s ) const;
@@ -123,7+112,7 @@
/// Retrieve const The type of tagger
unsigned short int type() const;
/// Update The type of tagger
void setType( unsigned short int value );
@@ -176,7+165,7 @@
protected:
private:
unsigned short int m_type; ///< The type of tagger
short int m_decision; ///< decision of tagger
float m_omega; ///< wrong tag fraction of tagger from MC tuning
float m_mvaValue; ///< raw output of the mva
float m_charge; ///< (weighted) charge of the tagging particle
unsigned short int m_type = TaggerType::none; ///< The type of tagger
short int m_decision = 0; ///< decision of tagger
float m_omega = 0.5; ///< wrong tag fraction of tagger from MC tuning
float m_mvaValue = 0; ///< raw output of the mva
float m_charge = 0; ///< (weighted) charge of the tagging particle
SmartRefVector<LHCb::Particle> m_taggerParts; ///< Vector of Particle(s) used to build the Tagger
}; // class Tagger
Loading