|
ATLAS Offline Software
|
Go to the documentation of this file.
12 #ifndef TrigInDetAnalysisExample_AnalysisConfig_Ntuple_H
13 #define TrigInDetAnalysisExample_AnalysisConfig_Ntuple_H
44 double tauEtCutOffline=0.0,
int TruthPdgId = 0,
bool _keepAllEvents=
false,
int parentTruthPdgId = 0) :
81 for (
unsigned i=0 ;
i<chainNames.size() ;
i++ ) {
83 if ( chainNames[
i].
empty() )
continue;
87 std::string cs =
chain.head();
91 else if ( cs==
"Vertex" ) {
96 else if ( cs==
"Muons" ){
101 else if ( cs==
"Electrons" ) {
108 else if ( cs==
"Taus" ) {
112 else if ( cs==
"Bjets" )
m_doBjets =
true;
115 if ( cs!=
"" && cs.find(
"HLT")==std::string::npos ) {
144 std::vector<TrackTrigObject>&
objects,
const std::string&
key=
"" );
203 #endif // TrigInDetAnalysisExample_AnalysisConfig_Ntuple_H
size_t get_jets(Trig::FeatureContainer::combination_const_iterator citr, std::vector< TrackTrigObject > &objects, const std::string &key="")
retrieve the jets from the Roi
std::vector< Combination >::const_iterator combination_const_iterator
void set_ptmin(double d=0)
Basic event class to contain a vector of chains for trigger analysis
std::vector< bool > m_muonIsLRT
std::vector< std::string > m_vertexType
std::vector< ChainString > m_chainNames
std::vector< bool > m_electronIsLRT
An algorithm that can be simultaneously executed in multiple threads.
virtual void finalize()
finalise the analysis - take ratios for efficiencies etc
std::vector< std::string > m_muonType
std::vector< std::string > m_rawElectrons
AnalysisConfig_Ntuple(const std::vector< std::string > &chainNames, std::string outputFileName="TrkNtuple.root", double tauEtCutOffline=0.0, int TruthPdgId=0, bool _keepAllEvents=false, int parentTruthPdgId=0)
std::vector< std::string > m_tauProngs
virtual ~AnalysisConfig_Ntuple()
virtual void book()
setup the analysis the analysis, retrieve the tools etc
std::vector< std::string > m_tauType
void keepAllEvents(bool b)
std::string m_outputFileName
std::vector< std::string > m_electronType