Skip to content

Commit

Permalink
compile bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
GernotMaier committed Dec 30, 2024
1 parent 574026b commit b86d21b
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
2 changes: 1 addition & 1 deletion inc/CData.h
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ class CData
TBranch* b_Xoff_intersect;
TBranch* b_Yoff_intersect;

CData( TTree* tree = 0, bool bMC = false, int iVersion = 5, bool bShort = false );
CData( TTree* tree = 0, bool bMC = false, bool bShort = false );
virtual ~CData();
virtual Int_t GetEntry( Long64_t entry );
virtual Long64_t LoadTree( Long64_t entry );
Expand Down
2 changes: 1 addition & 1 deletion src/CData.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -818,7 +818,7 @@ void CData::reconstruct_3tel_images_direction()
* Reconstruct shower energy for 3-telescope events.
*
*/
void CData:reconstruct_3tel_images_energy()
void CData::reconstruct_3tel_images_energy()
{
VDispAnalyzer i_dispAnalyzer;
vector< float > disp_energy_T;
Expand Down
7 changes: 7 additions & 0 deletions src/VDispTableAnalyzer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,14 @@ void VDispTableAnalyzer::calculateMeanDirection( float& xs, float& ys, vector< f
return;
}

// use first NTOT_MAX telescopes for event reconstruction only
// (number of possible combinations is 2^NTOT_MAX )
const unsigned int NTOT_MAX = 16;
unsigned int iNTel_max = x.size();
if( x.size() > NTOT_MAX )
{
iNTel_max = NTOT_MAX;
}

// prepare bit mask to go through all possible combinations of sign for disp calculation
vector< bitset< NTOT_MAX > > iComb;
Expand Down

0 comments on commit b86d21b

Please sign in to comment.