ATLAS Offline Software
Loading...
Searching...
No Matches
MuonVal::EventInfoBranch Class Reference

#include <EventInfoBranch.h>

Inheritance diagram for MuonVal::EventInfoBranch:
Collaboration diagram for MuonVal::EventInfoBranch:

Public Types

enum  WriteOpts {
  isMC = 1 , writePileUp = 1 << 1 , writePRW = 1 << 2 , writeBeamSpot = 1 << 3 ,
  writeTrigger = 1 << 4 , writeLHE = 1<<5
}
using DataDependency = SG::VarHandleKey*

Public Member Functions

 EventInfoBranch (MuonTesterTree &tree, unsigned int write_mask, const std::string &evtKey="EventInfo")
bool fill (const EventContext &ctx) override final
 The fill method checks if enough information is provided such that the branch is cleared from the information of the prevoius event and in cases of that updates did no happen befure a default value is provided.
bool init () override final
 The init method checks whether the branch name has already registered to the MuonTree and tries then to add the branch to the tree --> return false if the branch has already been defined or the inclusion of the branch to the tree failed or the name of the branch is empty.
std::string name () const override final
 Returns the name of the branch.
bool initialized () const
 Returns whether the object has been initialized or not The outcome of the variable is bound to a successful call of the addToTree method.
TTree * tree () override final
 Returns the underlying TTree object.
const TTree * tree () const override final
std::vector< DataDependencydata_dependencies () override final
 Returns the data dependencies needed by the MuonTesterBranch.
bool msgLvl (const MSG::Level lvl) const
 Test the output level.
MsgStream & msg () const
 The standard message stream.
MsgStream & msg (const MSG::Level lvl) const
 The standard message stream.
void setLevel (MSG::Level lvl)
 Change the current logging level.

Static Public Member Functions

static void setNumLHE (unsigned int numLHE) ATLAS_THREAD_SAFE
 Specify the number of LHE variations that are available in the sample.
static unsigned int getNumLHE ()
static std::string eraseWhiteSpaces (const std::string &In)

Protected Member Functions

template<class T>
bool addToTree (T &variable)
 Connects the Memory buffer with the TTree.
template<class Key>
bool declare_dependency (Key &key)
 Declares the ReadHandle/ ReadCondHandleKey as data dependency of the algorithm.
MuonTesterTreeparent ()
 Returns the reference to the MuonTesterTree parent.

Private Types

using EvtInfoDecor = SG::ReadDecorHandleKey<xAOD::EventInfo>
 Access to the pile up weights if requested.

Private Member Functions

void initMessaging () const
 Initialize our message level and MessageSvc.

Private Attributes

SG::ReadHandleKey< xAOD::EventInfom_key {"EventInfo"}
 Common access to the EventInfo.
std::vector< EvtInfoDecorm_prwKeys {}
unsigned int m_writemask {0}
ScalarBranch< unsigned long long > & m_evtNumber {parent().newScalar<unsigned long long>("eventNumber")}
ScalarBranch< uint32_t > & m_runNumber {parent().newScalar<uint32_t>("runNumber")}
ScalarBranch< uint32_t > & m_lbNumber {parent().newScalar<uint32_t>("lbNumber")}
ScalarBranch< uint32_t > & m_bcid {parent().newScalar<uint32_t>("bcid")}
ScalarBranch< uint32_t > & m_l1id {parent().newScalar<uint32_t>("l1id")}
 Toggled by the write trigger flag.
ScalarBranch< float > & m_average_mu {parent().newScalar<float>("average_mu")}
 Toggled by the Write PileUp flag.
ScalarBranch< float > & m_actual_mu {parent().newScalar<float>("actual_mu")}
ScalarBranch< uint32_t > & m_mcChannel {parent().newScalar<uint32_t>("mcChannelNumber")}
 ###################################################################### Disabled if the job runs on data # #####################################################################
ScalarBranch< double > & m_weight {parent().newScalar<double>("mcEventWeight")}
 Removed from output if writeLHE is switched on.
std::map< unsigned int, std::shared_ptr< ScalarBranch< double > > > m_lhe_weights {}
ScalarBranch< double > & m_prwWeight {parent().newScalar<double>("prwWeight")}
 Branches toggled by the write prw Flag.
ScalarBranch< uint32_t > & m_rnd_run {parent().newScalar<uint32_t>("randomRunNumber")}
ScalarBranch< uint32_t > & m_rnd_lumi_block {parent().newScalar<uint32_t>("randomLumiBlockNumber")}
ScalarBranch< double > & m_beamSpotWeight {parent().newScalar<double>("BeamSpotWeight")}
TTree * m_tree {nullptr}
MuonTesterTreem_parent {nullptr}
std::string m_name {}
bool m_init {false}
std::vector< DataDependencym_dependencies {}
std::string m_nm
 Message source name.
boost::thread_specific_ptr< MsgStream > m_msg_tls
 MsgStream instance (a std::cout like with print-out levels)
std::atomic< IMessageSvc * > m_imsg { nullptr }
 MessageSvc pointer.
std::atomic< MSG::Level > m_lvl { MSG::NIL }
 Current logging level.

Static Private Attributes

static std::atomic< unsigned int > s_num_lhe ATLAS_THREAD_SAFE

Detailed Description

Definition at line 15 of file EventInfoBranch.h.

Member Typedef Documentation

◆ DataDependency

◆ EvtInfoDecor

Access to the pile up weights if requested.

Definition at line 48 of file EventInfoBranch.h.

Member Enumeration Documentation

◆ WriteOpts

Enumerator
isMC 

Flag determining whether the branch is simulation.

writePileUp 

Write pile-up information.

writePRW 

Write the corrected pile-up.

writeBeamSpot 

Write the beamspot weight.

writeTrigger 

Write the trigger information.

writeLHE 

Write each of the LHE weights.

Definition at line 18 of file EventInfoBranch.h.

18 {
20 isMC = 1,
22 writePileUp = 1 << 1,
24 writePRW = 1 << 2,
26 writeBeamSpot = 1 << 3,
28 writeTrigger = 1 << 4,
30 writeLHE = 1<<5
31 };
@ writePileUp
Write pile-up information.
@ writeTrigger
Write the trigger information.
@ writePRW
Write the corrected pile-up.
@ isMC
Flag determining whether the branch is simulation.
@ writeLHE
Write each of the LHE weights.
@ writeBeamSpot
Write the beamspot weight.

Constructor & Destructor Documentation

◆ EventInfoBranch()

MuonVal::EventInfoBranch::EventInfoBranch ( MuonTesterTree & tree,
unsigned int write_mask,
const std::string & evtKey = "EventInfo" )

Definition at line 17 of file EventInfoBranch.cxx.

18 :
19 MuonTesterBranch{tree, " event info "},
20 m_key{evtKey},
21 m_writemask{write_mask}{
24 for (unsigned int lhe = 1; lhe < s_num_lhe ; ++lhe ) {
25 std::shared_ptr<ScalarBranch<double>>& new_br = m_lhe_weights[lhe];
26 new_br = std::make_shared<ScalarBranch<double>>(tree.tree(), "mcEventWeight_LHE_" + std::to_string(lhe),0.);
27 if (!tree.addBranch(new_br)) {
28 THROW_EXCEPTION("EventInfoBranch: Failed to create Scalar branch in c'tor");
29 }
30 }
31 }
32 } else {
33 tree.disableBranch(m_mcChannel.name());
34 tree.disableBranch(m_weight.name());
36 }
37
39 m_prwKeys.emplace_back(m_key.key() + "." + SG::AuxTypeRegistry::instance().getName(acc_Random.auxid()));
40 m_prwKeys.emplace_back(m_key.key() + "." + SG::AuxTypeRegistry::instance().getName(acc_LumiBlock.auxid()));
41 m_prwKeys.emplace_back(m_key.key() + "." + SG::AuxTypeRegistry::instance().getName(acc_PuW.auxid()));
42 } else {
43 tree.disableBranch(m_prwWeight.name());
44 tree.disableBranch(m_rnd_run.name());
45 tree.disableBranch(m_rnd_lumi_block.name());
46 }
47 if (!(m_writemask & WriteOpts::writeBeamSpot)) tree.disableBranch(m_beamSpotWeight.name());
49 tree.disableBranch(m_average_mu.name());
50 tree.disableBranch(m_actual_mu.name());
51 }
52 if (!(m_writemask & WriteOpts::writeTrigger)) tree.disableBranch(m_l1id.name());
53}
ScalarBranch< uint32_t > & m_mcChannel
###################################################################### Disabled if the job runs on da...
ScalarBranch< uint32_t > & m_rnd_lumi_block
ScalarBranch< float > & m_average_mu
Toggled by the Write PileUp flag.
ScalarBranch< uint32_t > & m_rnd_run
ScalarBranch< double > & m_weight
Removed from output if writeLHE is switched on.
std::vector< EvtInfoDecor > m_prwKeys
ScalarBranch< double > & m_prwWeight
Branches toggled by the write prw Flag.
std::map< unsigned int, std::shared_ptr< ScalarBranch< double > > > m_lhe_weights
ScalarBranch< float > & m_actual_mu
ScalarBranch< double > & m_beamSpotWeight
SG::ReadHandleKey< xAOD::EventInfo > m_key
Common access to the EventInfo.
ScalarBranch< uint32_t > & m_l1id
Toggled by the write trigger flag.
virtual TTree * tree()=0
Returns the pointer to the underlying TTree object.
MuonTesterBranch(MuonTesterTree &tree, const std::string &br_name)
std::string getName(SG::auxid_t auxid) const
Return the name of an aux data item.
static AuxTypeRegistry & instance()
Return the singleton registry instance.
#define THROW_EXCEPTION(MESSAGE)
Definition throwExcept.h:10

Member Function Documentation

◆ addToTree()

template<class T>
bool MuonVal::MuonTesterBranch::addToTree ( T & variable)
protectedinherited

Connects the Memory buffer with the TTree.

◆ data_dependencies()

std::vector< MuonTesterBranch::DataDependency > MuonVal::MuonTesterBranch::data_dependencies ( )
finaloverridevirtualinherited

Returns the data dependencies needed by the MuonTesterBranch.

Implements MuonVal::IMuonTesterBranch.

Definition at line 61 of file MuonTesterBranch.cxx.

61{ return m_dependencies;}
std::vector< DataDependency > m_dependencies

◆ declare_dependency()

template<class Key>
bool MuonVal::MuonTesterBranch::declare_dependency ( Key & key)
protectedinherited

Declares the ReadHandle/ ReadCondHandleKey as data dependency of the algorithm.

◆ eraseWhiteSpaces()

std::string MuonVal::MuonTesterBranch::eraseWhiteSpaces ( const std::string & In)
staticinherited

Definition at line 56 of file MuonTesterBranch.cxx.

56 {
57 std::string out = In;
58 out.erase(std::remove_if(out.begin(), out.end(), isspace), out.end());
59 return out;
60}
DataModel_detail::iterator< DVL > remove_if(typename DataModel_detail::iterator< DVL > beg, typename DataModel_detail::iterator< DVL > end, Predicate pred)
Specialization of remove_if for DataVector/List.

◆ fill()

bool MuonVal::EventInfoBranch::fill ( const EventContext & ctx)
finaloverridevirtual

The fill method checks if enough information is provided such that the branch is cleared from the information of the prevoius event and in cases of that updates did no happen befure a default value is provided.

--> returns false if no update is called or the dummy value has not been defined

Implements MuonVal::IMuonTesterBranch.

Definition at line 57 of file EventInfoBranch.cxx.

57 {
58 SG::ReadHandle<xAOD::EventInfo> evt_info{m_key, ctx};
59 if (!evt_info.isValid()) {
60 ATH_MSG_ERROR("Could not retrieve the EventInfo " << m_key.fullKey());
61 return false;
62 }
63
64 m_evtNumber = evt_info->eventNumber();
65 m_runNumber = evt_info->runNumber();
66 m_lbNumber = evt_info->lumiBlock();
67 m_bcid = evt_info->bcid();
68
69 m_average_mu = evt_info->averageInteractionsPerCrossing();
70 m_actual_mu = evt_info->actualInteractionsPerCrossing();
72 m_l1id = evt_info->extendedLevel1ID();
73 }
75 m_mcChannel = evt_info->mcChannelNumber();
76 m_weight = evt_info->mcEventWeight(0);
77 const unsigned int n_weights = evt_info->mcEventWeights().size();
78 for (auto & [lhe_idx, lhe_branch] : m_lhe_weights) {
79 (*lhe_branch) = lhe_idx < n_weights ? evt_info->mcEventWeight(lhe_idx) : 0.;
80 }
81 }
83 m_prwWeight = acc_PuW(*evt_info);
84 m_rnd_run = acc_Random(*evt_info);
85 m_rnd_lumi_block = acc_LumiBlock(*evt_info);
86 }
88 m_beamSpotWeight = evt_info->beamSpotWeight();
89 }
90 return true;
91}
#define ATH_MSG_ERROR(x)
ScalarBranch< uint32_t > & m_runNumber
ScalarBranch< uint32_t > & m_bcid
ScalarBranch< unsigned long long > & m_evtNumber
ScalarBranch< uint32_t > & m_lbNumber

◆ getNumLHE()

unsigned int MuonVal::EventInfoBranch::getNumLHE ( )
static

Definition at line 16 of file EventInfoBranch.cxx.

16{ return s_num_lhe;}

◆ init()

bool MuonVal::EventInfoBranch::init ( )
finaloverridevirtual

The init method checks whether the branch name has already registered to the MuonTree and tries then to add the branch to the tree --> return false if the branch has already been defined or the inclusion of the branch to the tree failed or the name of the branch is empty.

Implements MuonVal::IMuonTesterBranch.

Definition at line 92 of file EventInfoBranch.cxx.

92 {
93 return declare_dependency(m_key) && std::find_if(m_prwKeys.begin(), m_prwKeys.end(),
94 [this](EvtInfoDecor& decor){
95 return !declare_dependency(decor);
96 }) == m_prwKeys.end();
97}
SG::ReadDecorHandleKey< xAOD::EventInfo > EvtInfoDecor
Access to the pile up weights if requested.
bool declare_dependency(Key &key)
Declares the ReadHandle/ ReadCondHandleKey as data dependency of the algorithm.

◆ initialized()

bool MuonVal::MuonTesterBranch::initialized ( ) const
inherited

Returns whether the object has been initialized or not The outcome of the variable is bound to a successful call of the addToTree method.

Definition at line 52 of file MuonTesterBranch.cxx.

◆ initMessaging()

void AthMessaging::initMessaging ( ) const
privateinherited

Initialize our message level and MessageSvc.

This method should only be called once.

Definition at line 39 of file AthMessaging.cxx.

40{
42 // If user did not set an explicit level, set a default
43 if (m_lvl == MSG::NIL) {
44 m_lvl = m_imsg ?
45 static_cast<MSG::Level>( m_imsg.load()->outputLevel(m_nm) ) :
46 MSG::INFO;
47 }
48}
std::string m_nm
Message source name.
std::atomic< IMessageSvc * > m_imsg
MessageSvc pointer.
std::atomic< MSG::Level > m_lvl
Current logging level.
IMessageSvc * getMessageSvc(bool quiet=false)

◆ msg() [1/2]

MsgStream & AthMessaging::msg ( ) const
inlineinherited

The standard message stream.

Returns a reference to the default message stream May not be invoked before sysInitialize() has been invoked.

Definition at line 163 of file AthMessaging.h.

164{
165 MsgStream* ms = m_msg_tls.get();
166 if (!ms) {
167 if (!m_initialized.test_and_set()) initMessaging();
168 ms = new MsgStream(m_imsg,m_nm);
169 m_msg_tls.reset( ms );
170 }
171
172 ms->setLevel (m_lvl);
173 return *ms;
174}
boost::thread_specific_ptr< MsgStream > m_msg_tls
MsgStream instance (a std::cout like with print-out levels)
void initMessaging() const
Initialize our message level and MessageSvc.

◆ msg() [2/2]

MsgStream & AthMessaging::msg ( const MSG::Level lvl) const
inlineinherited

The standard message stream.

Returns a reference to the default message stream May not be invoked before sysInitialize() has been invoked.

Definition at line 178 of file AthMessaging.h.

179{ return msg() << lvl; }
MsgStream & msg() const
The standard message stream.

◆ msgLvl()

bool AthMessaging::msgLvl ( const MSG::Level lvl) const
inlineinherited

Test the output level.

Parameters
lvlThe message level to test against
Returns
boolean Indicating if messages at given level will be printed
Return values
trueMessages at level "lvl" will be printed

Definition at line 151 of file AthMessaging.h.

152{
153 if (m_lvl <= lvl) {
154 msg() << lvl;
155 return true;
156 } else {
157 return false;
158 }
159}

◆ name()

std::string MuonVal::MuonTesterBranch::name ( ) const
finaloverridevirtualinherited

Returns the name of the branch.

Implements MuonVal::IMuonTesterBranch.

Definition at line 51 of file MuonTesterBranch.cxx.

51{ return m_name; }

◆ parent()

MuonTesterTree & MuonVal::MuonTesterBranch::parent ( )
protectedinherited

Returns the reference to the MuonTesterTree parent.

Definition at line 38 of file MuonTesterBranch.cxx.

38 {
39 if (!m_parent) {
40 ATH_MSG_WARNING("The parent of " << name() << " is null.");
41 }
42 return *m_parent;
43}
#define ATH_MSG_WARNING(x)
std::string name() const override final
Returns the name of the branch.

◆ setLevel()

void AthMessaging::setLevel ( MSG::Level lvl)
inherited

Change the current logging level.

Use this rather than msg().setLevel() for proper operation with MT.

Definition at line 28 of file AthMessaging.cxx.

29{
30 m_lvl = lvl;
31}

◆ setNumLHE()

void MuonVal::EventInfoBranch::setNumLHE ( unsigned int numLHE)
static

Specify the number of LHE variations that are available in the sample.

Definition at line 15 of file EventInfoBranch.cxx.

15{ s_num_lhe = n;}

◆ tree() [1/2]

const TTree * MuonVal::MuonTesterBranch::tree ( ) const
finaloverridevirtualinherited

Implements MuonVal::IMuonTesterBranch.

Definition at line 54 of file MuonTesterBranch.cxx.

54{ return m_tree; }

◆ tree() [2/2]

TTree * MuonVal::MuonTesterBranch::tree ( )
finaloverridevirtualinherited

Returns the underlying TTree object.

Implements MuonVal::IMuonTesterBranch.

Definition at line 53 of file MuonTesterBranch.cxx.

53{ return m_tree; }

Member Data Documentation

◆ ATLAS_THREAD_SAFE

std::atomic<unsigned int> s_num_lhe MuonVal::EventInfoBranch::ATLAS_THREAD_SAFE
staticprivate

Definition at line 44 of file EventInfoBranch.h.

◆ m_actual_mu

ScalarBranch<float>& MuonVal::EventInfoBranch::m_actual_mu {parent().newScalar<float>("actual_mu")}
private

Definition at line 64 of file EventInfoBranch.h.

64{parent().newScalar<float>("actual_mu")};
MuonTesterTree & parent()
Returns the reference to the MuonTesterTree parent.
ScalarBranch< T > & newScalar(const std::string &name)

◆ m_average_mu

ScalarBranch<float>& MuonVal::EventInfoBranch::m_average_mu {parent().newScalar<float>("average_mu")}
private

Toggled by the Write PileUp flag.

Definition at line 63 of file EventInfoBranch.h.

63{parent().newScalar<float>("average_mu")};

◆ m_bcid

ScalarBranch<uint32_t>& MuonVal::EventInfoBranch::m_bcid {parent().newScalar<uint32_t>("bcid")}
private

Definition at line 57 of file EventInfoBranch.h.

57{parent().newScalar<uint32_t>("bcid")};
setEventNumber uint32_t

◆ m_beamSpotWeight

ScalarBranch<double>& MuonVal::EventInfoBranch::m_beamSpotWeight {parent().newScalar<double>("BeamSpotWeight")}
private

Definition at line 77 of file EventInfoBranch.h.

77{parent().newScalar<double>("BeamSpotWeight")};

◆ m_dependencies

std::vector<DataDependency> MuonVal::MuonTesterBranch::m_dependencies {}
privateinherited

Definition at line 62 of file MuonTesterBranch.h.

62{};

◆ m_evtNumber

ScalarBranch<unsigned long long>& MuonVal::EventInfoBranch::m_evtNumber {parent().newScalar<unsigned long long>("eventNumber")}
private

Definition at line 53 of file EventInfoBranch.h.

53{parent().newScalar<unsigned long long>("eventNumber")};

◆ m_imsg

std::atomic<IMessageSvc*> AthMessaging::m_imsg { nullptr }
mutableprivateinherited

MessageSvc pointer.

Definition at line 135 of file AthMessaging.h.

135{ nullptr };

◆ m_init

bool MuonVal::MuonTesterBranch::m_init {false}
privateinherited

Definition at line 61 of file MuonTesterBranch.h.

61{false};

◆ m_key

SG::ReadHandleKey<xAOD::EventInfo> MuonVal::EventInfoBranch::m_key {"EventInfo"}
private

Common access to the EventInfo.

Definition at line 46 of file EventInfoBranch.h.

46{"EventInfo"};

◆ m_l1id

ScalarBranch<uint32_t>& MuonVal::EventInfoBranch::m_l1id {parent().newScalar<uint32_t>("l1id")}
private

Toggled by the write trigger flag.

Definition at line 60 of file EventInfoBranch.h.

60{parent().newScalar<uint32_t>("l1id")};

◆ m_lbNumber

ScalarBranch<uint32_t>& MuonVal::EventInfoBranch::m_lbNumber {parent().newScalar<uint32_t>("lbNumber")}
private

Definition at line 56 of file EventInfoBranch.h.

56{parent().newScalar<uint32_t>("lbNumber")};

◆ m_lhe_weights

std::map<unsigned int, std::shared_ptr<ScalarBranch<double> > > MuonVal::EventInfoBranch::m_lhe_weights {}
private

Definition at line 71 of file EventInfoBranch.h.

71{};

◆ m_lvl

std::atomic<MSG::Level> AthMessaging::m_lvl { MSG::NIL }
mutableprivateinherited

Current logging level.

Definition at line 138 of file AthMessaging.h.

138{ MSG::NIL };

◆ m_mcChannel

ScalarBranch<uint32_t>& MuonVal::EventInfoBranch::m_mcChannel {parent().newScalar<uint32_t>("mcChannelNumber")}
private

###################################################################### Disabled if the job runs on data # #####################################################################

Definition at line 68 of file EventInfoBranch.h.

68{parent().newScalar<uint32_t>("mcChannelNumber")};

◆ m_msg_tls

boost::thread_specific_ptr<MsgStream> AthMessaging::m_msg_tls
mutableprivateinherited

MsgStream instance (a std::cout like with print-out levels)

Definition at line 132 of file AthMessaging.h.

◆ m_name

std::string MuonVal::MuonTesterBranch::m_name {}
privateinherited

Definition at line 60 of file MuonTesterBranch.h.

60{};

◆ m_nm

std::string AthMessaging::m_nm
privateinherited

Message source name.

Definition at line 129 of file AthMessaging.h.

◆ m_parent

MuonTesterTree* MuonVal::MuonTesterBranch::m_parent {nullptr}
privateinherited

Definition at line 59 of file MuonTesterBranch.h.

59{nullptr};

◆ m_prwKeys

std::vector<EvtInfoDecor> MuonVal::EventInfoBranch::m_prwKeys {}
private

Definition at line 49 of file EventInfoBranch.h.

49{};

◆ m_prwWeight

ScalarBranch<double>& MuonVal::EventInfoBranch::m_prwWeight {parent().newScalar<double>("prwWeight")}
private

Branches toggled by the write prw Flag.

Definition at line 74 of file EventInfoBranch.h.

74{parent().newScalar<double>("prwWeight")};

◆ m_rnd_lumi_block

ScalarBranch<uint32_t>& MuonVal::EventInfoBranch::m_rnd_lumi_block {parent().newScalar<uint32_t>("randomLumiBlockNumber")}
private

Definition at line 76 of file EventInfoBranch.h.

76{parent().newScalar<uint32_t>("randomLumiBlockNumber")};

◆ m_rnd_run

ScalarBranch<uint32_t>& MuonVal::EventInfoBranch::m_rnd_run {parent().newScalar<uint32_t>("randomRunNumber")}
private

Definition at line 75 of file EventInfoBranch.h.

75{parent().newScalar<uint32_t>("randomRunNumber")};

◆ m_runNumber

ScalarBranch<uint32_t>& MuonVal::EventInfoBranch::m_runNumber {parent().newScalar<uint32_t>("runNumber")}
private

Definition at line 54 of file EventInfoBranch.h.

54{parent().newScalar<uint32_t>("runNumber")};

◆ m_tree

TTree* MuonVal::MuonTesterBranch::m_tree {nullptr}
privateinherited

Definition at line 58 of file MuonTesterBranch.h.

58{nullptr};

◆ m_weight

ScalarBranch<double>& MuonVal::EventInfoBranch::m_weight {parent().newScalar<double>("mcEventWeight")}
private

Removed from output if writeLHE is switched on.

Definition at line 70 of file EventInfoBranch.h.

70{parent().newScalar<double>("mcEventWeight")};

◆ m_writemask

unsigned int MuonVal::EventInfoBranch::m_writemask {0}
private

Definition at line 50 of file EventInfoBranch.h.

50{0};

The documentation for this class was generated from the following files: