Skip to content
Snippets Groups Projects

Added functionality of parsing LHCf driven files and analyzing them.\n Added a...

Merged ymoyal requested to merge LHCf_Full_Processing into master
8 files
+ 330
28
Compare changes
  • Side-by-side
  • Inline
Files
8
@@ -12,12 +12,14 @@
#include "TTree.h"
#include "TFile.h"
#include "TKey.h"
#include "TBranch.h"
#include "TLeaf.h"
#include "TCanvas.h"
#include "TH1D.h"
#include "TH2D.h"
#include <vector>
#include <string>
#include "DataReader2021.h"
#include "LHCf_Trigger1.h"
@@ -35,6 +37,8 @@ class LHCf_reader : public DataReader2021{
void OpenFile( void );
void OpenFileName( std::string _fileName );
void ConvertFile( void );
void GetEventWaveforms( int iEvent );
void InitializeHistograms( void );
void SetSkipPedestal ( bool _wantToSkip ) { m_skipPedestal = _wantToSkip; }
@@ -44,9 +48,9 @@ class LHCf_reader : public DataReader2021{
void ShowEvent( int iEvent );
void ReadEvents( int iStartEvent = -1, int iEndEvent = -1 );
std::vector < unsigned int > GetGroupSample(unsigned int dwrd_0,
unsigned int dwrd_1,
unsigned int dwrd_2);
std::vector < float > GetGroupSample(unsigned int dwrd_0,
unsigned int dwrd_1,
unsigned int dwrd_2);
void VisualizeChannels ( void );
@@ -63,8 +67,8 @@ class LHCf_reader : public DataReader2021{
std::vector < Channel* > m_v_Channel;
//std::vector < Channel* > m_v_digitizedChannels;
std::vector < std::vector < unsigned int > > m_v_Channels;
std::vector < std::vector < unsigned int > > m_v_Channels_Corrected;
std::vector < std::vector < float > > m_v_Channels;
std::vector < std::vector < float > > m_v_Channels_Corrected;
bool m_debug = true;
@@ -74,6 +78,7 @@ class LHCf_reader : public DataReader2021{
bool m_skipBeam = false;
unsigned int m_nGroups = 3;
unsigned int m_nChPerGroup= 8;
};
#endif
Loading